C4 Engine
C4 Engine API Documentation

JointObject::SetBreakingForce

Defined in:  C4Joints.h
Sets the breaking force for a joint.
Prototype

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

JointObject::GetBreakingForce

JointObject::GetJointFlags

JointObject::SetJointFlags