Index
Math Utility

DistancePointLine

DistancePointLine(<-point <-startLine <-endLine) ->dist

Description

Returns the shortest distance between a point and a line. The point, startLine, and endLine are treated as Vector3.

Examples

DistancePointLine(V3(1 0 1) V3(0 0 0) V3(2 0 2)) ->dist
trace(<-dist)

Index