Tao.Ode SDK Documentation

Ode.dBodyGetJoint Method 

Return a joint attached to this body, given by index. Valid indexes are 0 to n-1 where n is the value returned by dBodyGetNumJoints.

[Visual Basic]
Public Shared Function dBodyGetJoint( _
   ByVal body As IntPtr, _
   ByVal index As Integer _
) As IntPtr
[C#]
public static IntPtr dBodyGetJoint(
   IntPtr body,
   int index
);

Parameters

body
A dBodyID
index
An int

Return Value

A dJointID

See Also

Ode Class | Tao.Ode Namespace