willowisp01 / TankYouVeryMuch

Orbital '23 Game Project
0 stars 0 forks source link

Advanced shooting #35

Closed willowisp01 closed 1 year ago

willowisp01 commented 1 year ago

The AI logic is as such:

  1. if clear line of sight found: shoot directly
  2. else if non-direct path found: use that non-direct path
  3. 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.

ronnnnnnnnn commented 1 year ago

what a beast