NewtonContactJointGetFirstContact

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

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