NewtonBodyGetFirstJoint
NewtonBodyGetFirstJoint
NewtonJoint* NewtonBodyGetFirstJoint (const NewtonBody* body);
Usage
Returns a pointer to the first joint attached to the given body.
Parameters
- const NewtonBody* body - pointer to the body.
Return
- Pointer to the first joint attached to the body.
Description
Returns a pointer to the first joint attached to the given body.
The function acts like an iterator together with NewtonBodyGetNextJoint.
Remarks
Added in Newton 2.0