aiming is not 100% accurate as bullets are not point objects
however making bullets too small means that they will tend to graze the player tank. so there's a tradeoff
yet to implement smooth movement.
The AI logic is as such:
if clear line of sight found: shoot directly
else if non-direct path found: use that non-direct path
else: don't make any changes to the angle.
Aim is adjusted between 0.2 and 0.3 seconds before timer reaches 0..
(Consider implementing smooth movement for the remaining 0.2 seconds)
At 0 seconds a bullet is fired.
The AI logic is as such:
Aim is adjusted between 0.2 and 0.3 seconds before timer reaches 0.. (Consider implementing smooth movement for the remaining 0.2 seconds) At 0 seconds a bullet is fired.