Hi
That's a pretty complex question. I have never done a racing AI, so I can't help much, but what I can say is:
I guess that in your AI logic you have a way to specify what direction/point to steer towards. If that is the case, then you can use the following methods to get points/directions related to the spline:
CurvySpline.Interpolate
CurvySpline.GetTangent
CurvySpline.GetOrientation
Combining these methods, you can define points that are close to the spline but not on it.
I hope this helped
Have a nice day
That's a pretty complex question. I have never done a racing AI, so I can't help much, but what I can say is:
I guess that in your AI logic you have a way to specify what direction/point to steer towards. If that is the case, then you can use the following methods to get points/directions related to the spline:
CurvySpline.Interpolate
CurvySpline.GetTangent
CurvySpline.GetOrientation
Combining these methods, you can define points that are close to the spline but not on it.
I hope this helped
Have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.