This Program is capable of accurately hitting moving targets by predicting the intersection of the projectile and the target. Red dot - Shooter Green dot - target Purple dot - projectile light blue dot - point of intersection If the program does not run, Press the green flag to restart the program. Feel free to use this for your own projects, but please credit the original posters from stack exchange: https://gamedev.stackexchange.com/questions/28481/how-to-lead-a-moving-target-from-a-moving-shooter
lower the interval to smooth out the simulation Predictive Shooting Shot lead Hitting moving target