JointObject::SetBreakingForce
Defined in:
Sets the breaking force for a joint.
C4Joints.hPrototype
void SetBreakingForce(float force);
Parameters
force |
The new breaking force. |
Description
The SetBreakingForce function sets the breaking force for a joint, measured in kilonewtons (kN). The breaking force is only used if the kJointBreakable flag is set for the joint.The initial value of the breaking force is 0, so it should be explicitly set to a positive value at the time when a joint is made breakable. Otherwise, the joint will tend to fall apart on the first simulation step.
See Also
