NewtonDestroyJoint
NewtonDestroyJoint
void NewtonDestroyJoint( const NewtonWorld* newtonWorld, const NewtonJoint* joint)
Usage
destroy a joint.
Parameters
- const NewtonWorld *newtonWorld - is the pointer to the body.
- const NewtonJoint *joint - pointer to joint to be destroyed
Return
- nothing
Remarks
- The application can call this function when it wants to destroy a joint. This function can be used by the application to simulate breakable joints
If this function is called from inside a simulation step (forceandtorque or transform callback) newton will crash - this is not supported. |
See also
NewtonConstraintCreateJoint NewtonConstraintCreateHinge NewtonConstraintCreateSlider