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
bodyIdb3BodyId-
See the Box3D documentation.
jointArrayb3JointId*-
See the Box3D documentation.
capacityint-
See the Box3D documentation.
Returns
- int
-
the number of joint ids stored in the user array