Table of Contents

Method b3Shape_GetClosestPoint

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

b3Shape_GetClosestPoint(b3ShapeId, Vector3)

Get the closest point on a shape to a target point. Target and result are in world space.

public static extern Vector3 b3Shape_GetClosestPoint(b3ShapeId shapeId, Vector3 target)

Parameters

shapeId b3ShapeId

See the Box3D documentation.

target Vector3

See the Box3D documentation.

Returns

Vector3

See the Box3D documentation.