itween closestPointOnSpline

Hi,

Ive been searching through the forums, and I havent yet found a method for finding the closest point on a spline.

I have a vector (my object’s position) and Id like to find the nearest point on the spline.

Thanks for any ideas. Sorry if I’ve missed the answer.

Cheers,

Eric

I stumbled onto Super Splines Pro and this has a great nearest point on curve function.

Thanks!

As does MegaShapes (either the full version or the one with MegaFiers) also has path follow components and a ton more stuff for playing with splines. https://www.assetstore.unity3d.com/#/content/3640