Table of Contents

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

bodyId b3BodyId

See the Box3D documentation.

result Vector3*

See the Box3D documentation.

target Vector3

See the Box3D documentation.

Returns

float

See the Box3D documentation.