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