Possible Duplicate:
Predicting enemy position in order to have an object lead its target
I'm working with a bit of projectile prediction for my AI and I'm looking for some ideas, any input?
If a blue vehicle is moving in a direction at a constant speed of X m/s and a stationary orange vehicle has a rocket that travels Y m/s, which initial direction would the orange vehicle have to fire the rocket for it to hit the blue vehicle at the earliest time in the future?
Thanks for reading!