Difference between revisions of "NewtonContactJointGetFirstContact"

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

Latest revision as of 08:02, 10 June 2019

NewtonContactJointGetFirstContact

 void* NewtonContactJointGetFirstContact (const NewtonJoint* contactJoint);

Usage

Returns a pointer to the first contact point's data of the contact joint.

Parameters

  • const NewtonJoint* contactJoint - pointer to the contact joint.

Return

  • Pointer to the first contact point data.

Description

Returns a pointer to the first contact point's data of the contact joint.

The function acts like an iterator together with NewtonContactJointGetNextContact.

Remarks

Added since Newton 2.0

See also

NewtonContactJointGetNextContact NewtonContactJointGetContactCount NewtonContactJointRemoveContact