Hi,
First, if not already done, please get an idea of the capabilities and usage of the Spline Controller by reading the documentation page, and watching the videos included in that page.
Then, write a script that does the following:
- get the tangent of the spline where your object at, and where it was the previous frame.
- Compute the angle between these two vectors.
- Compute the turn speed based on that angle.
- Add offset to your controller depending on how high is the turn speed.
This answers the complicated part, the drift implementation.
For the rest orientation, just setup your controller properly.
For the variable speed, use the API to change the value of Speed.
Here is the relevant api reference page:
https://api.curvyeditor.com/FluffyUnderware.Curvy.Controllers.SplineController.html
Have a nice day
Please consider leaving a
review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.