Bullet Shielding
Fragment of a discussion from Talk:Oculus
Jump to navigation
Jump to search
- Oculus doesn't have such problem because it does some checking to be sure that the bullet would hit %100 if enemy movement predicted correctly.
- Something like this
boolean fire =gunHeat == 0 && a.getGunTurnRemainingRadians() < 18 / (currentBattleInfo.distance -18)
Dsekercioglu (talk)
I would say just use getGunTurnRemainingRadians() == 0, as any deviation would decrease your hit rate if your statistics is right.
In the next version I will make it even more precise(with anti-bullet shielding of course). This version uses the angular bot width.
Dsekercioglu (talk)