I am learning programming for computer games and it seems i am struggling to work out an equation for a steering behaviour.
I have a vehicle that navigates around objects. Some times it has to take a really sharp turn and so has to slow down before it approaches this turn to take it without over/under steering. It may even need to stop completely whilst its rotating (like a tank would).
I am wondering how you can calculate the best approach speed to take a given corner/angle.
I have 3 properties for the vehicle, a max speed, an acceleration (same for increasing and decreasing the speed) and a rotation speed.
Is there any general equation that can help with this that i can then try to translate into code.
banked
curves... nor does that link really talk /show how to find the correct velocity to slow to depending on sharpness of the turn in any mathematical way. $\endgroup$