Table of Contents

Method b3Body_GetJoints

Namespace
Box3D.Native
Assembly
Box3D.NET.Native.dll

b3Body_GetJoints(b3BodyId, b3JointId*, int)

Get the joint ids for all joints on this body, up to the provided capacity

public static extern int b3Body_GetJoints(b3BodyId bodyId, b3JointId* jointArray, int capacity)

Parameters

bodyId b3BodyId

See the Box3D documentation.

jointArray b3JointId*

See the Box3D documentation.

capacity int

See the Box3D documentation.

Returns

int

the number of joint ids stored in the user array