NewtonDestroyJoint

From Newton Wiki
Jump to: navigation, search

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


See also

NewtonConstraintCreateJoint NewtonConstraintCreateHinge NewtonConstraintCreateSlider