Difference between revisions of "NewtonContactJointGetContactCount"
m (1 revision imported) |
|
(No difference)
|
Latest revision as of 08:02, 10 June 2019
Contents
NewtonContactJointGetContactCount
int NewtonContactJointGetContactCount(const NewtonJoint* contactJoint);
Usage
Returns the number of contact points corresponding to the contact joint.
Parameters
- const NewtonJoint* contactJoint - pointer to the contact joint.
Return
- The number of contacts.
Description
Returns the number of contact points corresponding to the contact joint.
Remarks
- Added since Newton 2.0
- To iterate through contacts use NewtonContactJointGetFirstContact and NewtonContactJointGetNextContact
See also
NewtonContactJointGetFirstContact NewtonContactJointGetNextContact NewtonContactJointRemoveContact