Difference between revisions of "NewtonJointGetBody0"

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

Latest revision as of 08:02, 10 June 2019

NewtonJointGetBody0

 NewtonBody* NewtonJointGetBody0 (const NewtonJoint* joint);

Usage

Retrieves the first body that belongs to a joint.

Parameters

  • const NewtonJoint* joint - pointer to the joint.

Return

  • Pointer to the body.

Description

Retrieves the first body that belongs to a joint.

Remarks

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

See also

NewtonJointGetBody1