Find Location Closest to World Location

Given a location, in world space, return the point on the curve that is closest to the location.

Target is Spline Component

Find Location Closest to World Location
Target
World Location
X0
Y 0
Z 0
Coordinate Space
Local
Return Value
X0
Y 0
Z 0

Inputs

Target
Spline Component Object Reference
World Location
Vector (by ref)
Coordinate Space
ESplineCoordinateSpace Enum

Outputs

Return Value
Vector

Given a location, in world space, return the point on the curve that is closest to the location.