IrrGetCollisionGroupFromTerrain

section index

## NAME

IrrGetCollisionGroupFromTerrain - creates a collision selector from a terrain node

## SYNOPSIS

*selector = IrrGetCollisionGroupFromTerrain( *ptr2IrrTerrainSceneNode, level_of_detail.l)

## FUNCTION

Creates a collision object from a terrain node. A higher level of detail improves the collision detection but consumes more resources and can effect the speed of the process.

## INPUTS

*ptr2IrrTerrainSceneNode | - | Poinnter to a TerrainSceneNode
level_of_detail.l | - | Level of detail, 0 for highest detail.

## RESULT

A Pointer to a Selector for the Terrain

## EXAMPLE

        *TerrainSelector = IrrGetCollisionGroupFromTerrain( *myNode, 0 )