07-30-2019, 03:05 PM
Hello
I Wonder if you have already a function who find the closest position from a Ray to your spline.
You have the curvySpline.GetNearestPointTF(worldPos, out closestPosition);
I could test every point on the Ray (or iterate randomly with more and more acuracy), but I a sure there is a better & opti way of doing it with Math.
How could I do with your plugin ?
Thanks
I Wonder if you have already a function who find the closest position from a Ray to your spline.
You have the curvySpline.GetNearestPointTF(worldPos, out closestPosition);
I could test every point on the Ray (or iterate randomly with more and more acuracy), but I a sure there is a better & opti way of doing it with Math.
How could I do with your plugin ?
Thanks