C4 Engine Terathon Software C4 Engine API Documentation

• Physics Manager

API Links
Developer Links

ShapeObject::SetShapeFlags

Defined in:  C4Shapes.h
Sets the shape flags.
Prototype

void SetShapeFlags(unsigned_int32 flags);

Parameters
flags The new shape flags.
Description
The SetShapeFlags function sets the shape flags to the value specified by the flags parameter, which can be a combination (through logical OR) of the following values.
kShapeCollisionInhibit The shape affects mass distribution in the rigid body, but it does not participate in collision detection.
The initial value of the shape flags is 0.
See Also

ShapeObject::GetShapeFlags