Table of Contents

Method ClosestPointTo

Namespace
Box3D
Assembly
Box3D.NET.dll

ClosestPointTo(Vector3)

Gets the closest point on this shape to a world-space target.

public Vector3 ClosestPointTo(Vector3 target)

Parameters

target Vector3

The target point, in world space.

Returns

Vector3

The closest point on the shape surface, in world space.