Difference between revisions of "NewtonBodyGetFirstContactJoint"

From Newton Wiki
Jump to: navigation, search
 
m (1 revision imported)
 
(No difference)

Latest revision as of 08:02, 10 June 2019

NewtonBodyGetFirstContactJoint

 NewtonJoint* NewtonBodyGetFirstContactJoint (const NewtonBody* body);

Usage

Returns a pointer to the first contact joint associated with the given body.

Parameters

  • const NewtonBody* body - pointer to the body.

Return

  • Pointer to the first contact joint associated with the body.

Description

Returns a pointer to the first contact joint associated with the given body.

The function acts like an iterator together with NewtonBodyGetNextContactJoint.

Remarks

Added in Newton 2.0

See also

NewtonBodyGetNextContactJoint