Hello physics enthusiasts, I was hoping for some insight into ballistics. I've been playing some games (namely Planetside 2) with somewhat realistic bullet physics, and have been trying desperately to find an equation that takes into account distance from target, velocity of target, and velocity of projectile. I've managed to work out how to compensate for gravity, but thats only really useful when the target is stationary. Sadly, players tend to move when being shot at. The nerve. Any equations that I can plug the relevant variables into and come up with a headshot, is much appreciated. Thanks!