GeometryObject::SetCollisionLevel
Defined in:
Sets the index of the detail level used for collision detection.
C4GeometryObjects.h
Prototype
void SetCollisionLevel(int32 level) const;
Parameters
level |
The detail level index. |
Description
The SetCollisionLevel
function sets the index of the detail level used for collision detection. The level
parameter should be in the range [0, n − 1], where n is the number of detail levels. If the level
parameter is greater than or equal to n, then the collision level is set to n − 1.
See Also
GeometryObject::GetCollisionLevel
GeometryObject::GetCollisionExclusionMask