Collider.ClosestPointOnBounds

The closest point to the bounding box of the attached collider.

Collider.ClosestPointOnBounds

Property

Collider Collider
Position Position
Result Result output