Method b3Body_GetClosestPoint
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
b3Body_GetClosestPoint(b3BodyId, Vector3*, Vector3)
Get the closest point on a body to a world target.
public static extern float b3Body_GetClosestPoint(b3BodyId bodyId, Vector3* result, Vector3 target)Parameters
bodyIdb3BodyId-
See the Box3D documentation.
resultVector3*-
See the Box3D documentation.
targetVector3-
See the Box3D documentation.
Returns
- float
-
See the Box3D documentation.