NewtonContactJointGetFirstContact
Contents
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