Nearest Spline Point

Given a Curvy Spline and an Input Position, this class will provide you with the nearest point to that position on the given spline.

The nearest point is output via two ways:

This component simply calls the GetNearestPoint method from the CurvySpline class. If you are a programmer, you can simply call the method directly.

Spline

The Curvy Spline on which the nearest position is searched for

Source Position

A transform which position will be used as the input position for the search

Target Position

A transform which position will be updated with the nearest point on Spline to Source Position

Update In

When to run the search

On Updated

At each update, this event is called with the result of the search