void NewtonDestroyJoint( const NewtonWorld* newtonWorld, const NewtonJoint* joint)
destroy a joint.
- const NewtonWorld *newtonWorld - is the pointer to the body.
- const NewtonJoint *joint - pointer to joint to be destroyed
- 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.|