User Tools

Site Tools


4rpl:commands:distancepointline

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

4rpl/commands/distancepointline.txt · Last modified: 2023/03/25 05:19 by Kalli