JointObject::SetJointFlags
Defined in:
Sets the joint flags.
C4Joints.h
Prototype
void SetJointFlags(uint32 flags);
Parameters
flags |
The new joint flags. See below for possible values. |
Description
The SetJointFlags
function sets the joint flags. The flags
parameter can be a combination (through logical OR) of the following constants.
kJointBreakable |
The joint can be broken if enough force is applied. |
kJointConstrainTwistPosition |
The twist positions of bodies connected to the joint are constrained (universal joint only). |
kJointLimitDistance |
The joint enforces a limited translation distance (cylindrical and prismatic joints only). |
kJointLimitAngle |
The joint enforces a limited rotation angle (all joints except prismatic). |
See Also