closetPointOnCurve

Returns the closest point, tangent and parameter on a curve from a position and an input curve.

Inputs

Inputs
Name Type Default Description
inPosition VectorPort V3d(0, 1, 1.33719e-311) World space input position
inCurve CurveRefPort   Input curve

Outputs

Outputs
Name Type Default Description
outPosition VectorPort V3d(-1.#QNAN, 1, 0) Output position
outTangent VectorPort V3d(1, 0, 0) Output tangent
outParameter DoublePort 0.0 Output parameter