Hi All!
I need to stabalize my car when I jump of a ramp, so that it doesn’t flip over all the time.
How do I do this (in Javascript). What are the functions that check the rotation of an object, and how would you apply it? Just checking if the wheels have left the ground, and then just turn the car horizontal immediately will probably look very, very bad, so there has to be somewhat of a natural trajectory to the jump: Slowly turn the car back to a horizontal position…
Would I have to calculate how long the jump is going to take. and then use percentages to adjust the rotation? If so, How would I do this? If not, are there other, smarter, better ways to acclompish this?
Thanks in advance!