IrrGetCollisionGroupFromComplexMesh

section index

## NAME

IrrGetCollisionGroupFromComplexMesh - creates a collision selector from a complex Node like a Map

## SYNOPSIS

*selector = IrrGetCollisionGroupFromComplexMesh( *ptr2IrrAnimatedMesh, *ptr2IrrSceneNode)

## FUNCTION

Creates an optimized triangle selection group from a large complex mesh like a map. This group can then be used in collision functions to collide objects against this node. You need to supply both the mesh the node was created from and the node itself.

## INPUTS

*ptr2IrrAnimatedMesh | - | Pointer to a Mesh
*ptr2IrrSceneNode | - | Poinnter to a SceneNode

## RESULT

A Pointer to a Scelector for the Created CollisionGroup.

## EXAMPLE

        *mySelector = IrrGetCollisionGroupFromComplexMesh( *myMesh, *myNode )