Difference between revisions of "NewtonJointGetBody1"

From Newton Wiki
Jump to: navigation, search
 
m (1 revision imported)
 
(No difference)

Latest revision as of 08:02, 10 June 2019

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