Function VectorMath.ClosestPointOnSegment
Returns the closest point on the segment.
Public
Static
Vector3 ClosestPointOnSegment (
lineStart | ||
lineEnd | ||
point |
Returns the closest point on the segment.
The segment is NOT treated as infinite.