Documentation / Node reference / code nodes
code/Line3ClosestPoint
Outputs the point of a line closest to a position.
Geometry
Outputs the point of the line closest to a position. The line goes on past its two points. Unwired, the line is the Y axis.
Parameters
| Name | Type | What it does |
|---|---|---|
| position | Vector3 | Position to find the closest point to. |
This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.