2d game : fire at a moving target by predicting intersection of projectile and unit
I wrote an aiming subroutine for xtank a while back. I’ll try to lay out how I did it. Disclaimer: I may have made one or more silly mistakes anywhere in here; I’m just trying to reconstruct the reasoning with my rusty math skills. However, I’ll cut to the chase first, since this is a … Read more