03-01-2019, 10:37 AM
Hi,
Splines have a tangent at each of their points. So to know how sharp a turn is, compare the tangent of the spline at nearest point to the vehicule with the tangent at let's say half a meter in front of that point.
Here is some helpful documentation
https://api.curvyeditor.com/520/class_fluffy_underware_1_1_curvy_1_1_curvy_spline.html#a12ccd8602d6e470a8ed4fe28452b53a6
Splines have a tangent at each of their points. So to know how sharp a turn is, compare the tangent of the spline at nearest point to the vehicule with the tangent at let's say half a meter in front of that point.
Here is some helpful documentation
https://api.curvyeditor.com/520/class_fluffy_underware_1_1_curvy_1_1_curvy_spline.html#a12ccd8602d6e470a8ed4fe28452b53a6
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.