ProtoFlux:Closest Point On Line

From Resonite Wiki
Revision as of 19:00, 2 July 2024 by AmasterAmaster (talk | contribs) (Created a page for the Closest Point On Line node.)
(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.