RigidBodyController::SetCollisionExclusionMask
Defined in:
Sets the collision exclusion mask for a rigid body.
C4Physics.h
Prototype
void GetCollisionExclusionMask(uint32 mask);
Parameters
mask |
The new collision exclusion mask. |
Description
The SetCollisionExclusionMask
function sets the collision exclusion mask for a rigid body to the value specified by the mask
parameter. The exclusion mask can be any 32-bit value that is a combination (through logical OR) of collision kind values. For any bits that are set, the default RigidBodyController::ValidRigidBodyCollision
function does not allow collisions with any rigid bodies having the corresponding collision kind.The initial collision exclusion mask is 0, meaning that all collisions are allowed.
See Also
RigidBodyController::GetCollisionExclusionMask
RigidBodyController::GetCollisionKind
RigidBodyController::SetCollisionKind