Hello,
I'm using Curvy in my project to move enemy aircraft along a spline path. I wanted to extend the SplineController class to have the enemy "bank" or "roll" into a turn when steering left or right.
What would be the easiest way to implement this behavior in Curvy? If Curvy is already calculating something like rotational "velocity" - something that ignores the orientation of the control points, though - I think that would be what I would want to use to determine how far left or right I should roll the enemy ship controller. Is there some function or variable I can access like this?
Thanks!
I'm using Curvy in my project to move enemy aircraft along a spline path. I wanted to extend the SplineController class to have the enemy "bank" or "roll" into a turn when steering left or right.
What would be the easiest way to implement this behavior in Curvy? If Curvy is already calculating something like rotational "velocity" - something that ignores the orientation of the control points, though - I think that would be what I would want to use to determine how far left or right I should roll the enemy ship controller. Is there some function or variable I can access like this?
Thanks!