Hey guys, been looking at this article in the hopes of being able to implement a way of an AI helicopter with a turret to shoot at any nearby enemys within a certain radius. Up to now I seem to be having no luck.
I'm wanting to know how I'd adjust this formula to accomdate a Moving shooter with a constant velocity.
To Clarify I know:
Shooters Position, Shooters Constant Velocity, Shooters Projectile Speed
Targets Position, Targets Constant Velocity.
Also in order to prevent bullets fired forwards whilst moving forwards being too slow, the Directional Vector from this target leading has the current velocity of the shooter added onto it before being multiplied by the bullets speed.
↧