03-23-2017, 09:45 AM
Hi everyone,
I'm new using Curvy plugin. I want to get the closest point on a spline from an arbitrary point in the space but I'm stuck.
I've created a closed curvy spline. When the game starts, I create a sphere in the world and then I look for the nearest point. I'm using the method curvySpline.GetNearestPointTF(spherePosition) but it always return -1.
What am I doing wrong?
Thanks in advance.
I'm new using Curvy plugin. I want to get the closest point on a spline from an arbitrary point in the space but I'm stuck.
I've created a closed curvy spline. When the game starts, I create a sphere in the world and then I look for the nearest point. I'm using the method curvySpline.GetNearestPointTF(spherePosition) but it always return -1.
What am I doing wrong?
Thanks in advance.