Hi!
I'm working on a racing game and I was thinking using curves for acceleration instead of complex math with friction, engine torque and all that.
Here's what I'm trying to do: Add a curve resource with the X axis between 0 and 25 (let's say 25 secs is needed to reach top speed) and Y between 0 and 1. I want to get the Y value at certain X position, I would multiply this value with the top speed of the car and I'd get a momentary speed at X seconds.
My problem is, I can only edit the Y range of the curve and from what I saw in the docs I can only get this value with an offset on the X axis between 0 and 1. Is there any way to flip the axes around so my X goes from 0 to N and Y from 0 to 1?
Thanks a lot!
Steve