ProtoFlux:ClosestPointOnLine

From Resonite Wiki
Revision as of 23:45, 20 August 2025 by YoshBot (talk | contribs) (YoshBot moved page ProtoFlux:Closest Point On Line to ProtoFlux:ClosestPointOnLine: Automated: removing spaces from ProtoFlux namespace)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Closest Point On Line
LinePoint0
*
LinePoint1
Point
Geometry 3D

The Closest Point On Line node takes in the line parameters (2 points in 3D space), and a provided point to check. Then it returns the point that it is closest to on the line, based on the defined parameters.

Inputs

LinePoint0 (float3)

The first point.

LinePoint1 (float3)

The second point.

Point (float3)

The point to check.

Outputs

* (float3)

Returns the point on the line compared with the point given.