Hello, I'm trying to figure out how to move something to a point given some angular constraints.
Almost like a missile attempting to hit a target. It can't turn on a dime, so must rotate towards its target. However, because it's moving forward and rotating at the same time, if the distance between the target is less than the missiles turning speed, the missile may never reach its goal and simply rotate forever around the target point.
Now imagine instead of a missile you're a car. The same rules apply, you have a limited maximum turning circle which will prevent you from turning on a dime.
If the car was to try and reach a point beside itself, it could potentially:
- reverse, then move forward to the target.
- rotate on a larger arc around the point increasing the distance and allowing the car to align itself to the target point and move forward.
- say to itself, I'm close enough. No one will notice.
In my situation, the second one would be ideal. So, does anyone know how to calculate:
- will an object miss its target because it can't turn sharply enough?
- if so, calculate a larger arc/path giving the object enough distance to turn correctly.
or know of any helpful articles?
Edited by mr_malee, 23 April 2014 - 01:55 PM.