NewtonContactJointGetNextContact
Contents
NewtonContactJointGetNextContact
void* NewtonContactJointGetNextContact (const NewtonJoint* contactJoint, void* contact);
Usage
Returns a pointer to the next contact point's data of the contact joint.
Parameters
- const NewtonJoint* contactJoint - pointer to the contact joint.
- void * - pointer to the previous contact point data.
Return
- Pointer to the next contact point data or NULL in case there are no further contact points.
Description
Returns a pointer to the next contact point's data of the contact joint.
The function acts like an iterator together with NewtonContactJointGetFirstContact.
Remarks
Added in Newton 2.0
See also
NewtonContactJointGetFirstContact NewtonContactJointGetContactCount NewtonContactJointRemoveContact