[Feature Request] Closest point on spline.
A function that takes an actor's world position and finds the closest point on a spline curve would be most useful. One can often get around it but it can demand quite a lot of work and it seems like a very useful function.
asked Mar 19 '15 at 12:34 AM in Everything Else
It's not a implementation, but an approach analog to the Newton Algorithm for zero intersection :
This is just from my memory, don't blame me for details. It also isn't prefect, because it orients itself at the 2 closest spline points, in this example it's not so cool:
We didn't code a solution, we just didn't overextend our tangents of the spline and used more spline points at critical positions
answered Jan 17 '17 at 10:12 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here