10-28-2018, 03:29 PM
Off the top of my head:
Vector3 frontWheelLocalPosition = XXX; // The position in the spline's local space.
float frontWheelTf = spline.GetNearestPointTF(frontWheelLocalPosition );
Vector3 tangent = spline.GetTangent(frontWheelTf);
More info about how to use these methods is available in the method's documentation
Vector3 frontWheelLocalPosition = XXX; // The position in the spline's local space.
float frontWheelTf = spline.GetNearestPointTF(frontWheelLocalPosition );
Vector3 tangent = spline.GetTangent(frontWheelTf);
More info about how to use these methods is available in the method's documentation
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.