NewtonJointGetBody1

From Newton Wiki
Revision as of 08:02, 10 June 2019 by WikiSysop (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

NewtonJointGetBody1

 NewtonBody* NewtonJointGetBody1 (const NewtonJoint* joint);

Usage

Retrieves the second body that belongs to a joint.

Parameters

  • const NewtonJoint* joint - pointer to the joint.

Return

  • Pointer to the body.

Description

Retrieves the second body that belongs to a joint.

Remarks

  • Added in Newton 2.0
  • This function shall be called inside the NewtonContactsProcess callback to get the second body corresponding to the contact joint received as parameter in the callback

See also

NewtonJointGetBody0