Joint::BreakJoint
Defined in:
Breaks a joint's connections.
C4Joints.h
Prototype
void BreakJoint(void);
Description
The BreakJoint
function breaks the connections to the first and second rigid bodies influenced by a joint, if they exist, and deletes the internal contact used by the Physics Manager. The built-in connectors belonging to the joint node continue to exist, but they are no longer linked to other nodes after this function returns. Any rigid bodies that were connected to the joint are awakened, and this process continues recursively through all bodies reachable in the contact graph.
See Also
Joint::GetFirstConnectedRigidBody
Joint::GetSecondConnectedRigidBody