NewtonContactJointGetContactCount

From Newton Wiki
Jump to: navigation, search

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

See also

NewtonContactJointGetFirstContact NewtonContactJointGetNextContact NewtonContactJointRemoveContact