NewtonBodyFindContact

From Newton Wiki
Jump to: navigation, search

NewtonBodyFindContact

NewtonJoint* NewtonBodyFindContact (const NewtonBody* const body0, const NewtonBody* const body1)

Usage

Return a pointer to the next contact joint the connect these two bodies, if the are colliding

Parameters

  • const NewtonBody* const body0
  • const NewtonBody* const body1

Return

  • NewtonJoint*

Description

See also

NewtonBodyGetFirstContactJoint NewtonContactJointGetFirstContact NewtonContactJointGetNextContact NewtonContactJointRemoveContact