Is wiki wrong about MEA?

Jump to navigation Jump to search

asin formula is when your opponent move perpendicular to your head on angle atan formula is when your opponent move perpendicular to your hit angle ;)

However, the first one is greater, therefore the max (of them).

Xor (talk)06:05, 17 September 2017

I am arguing that the asin(Vbot/Vbullet) formula has an assumption in its derivation, which leads to the overestimation of the angle. The easy way to see that use of the asin is wrong is to assume that bullet speed is equal to the bot then asin gives 90 degrees, but you will never hit the bot this way, by symmetry MEA in this case is 45 degrees. Note that atan does it automatically.

Beaming (talk)15:11, 17 September 2017

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Users.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page.

Return to Thread:Talk:Maximum Escape Angle/Is wiki wrong about MEA?/reply (8).

 

You've made one thing wrong — it's the bot, not you, that selects the escape angle. if the bot move perpendicular to you, and your bullet speed is the same — you will not hit him definitely. Whatever formula you use, the fact of not being able to hit will never change, in this case. Therefore it still can't prove it's wrong.

The only way to prove asin formula is wrong is by giving a formula that is greater than or equal to asin formula all the time (and that formula must satisfy the game physics as well)

Xor (talk)00:08, 18 September 2017
 

Anyway, if your opponent moves orbital, not perpendicular, asin formula will make higher power bullet shoot at an angle greater than needed, and lower power the less — decrease hit rate. Therefore using max_vel/bullet_speed withou trig may be better in this case (if you don't cape gfs, it will never be an issue)

Xor (talk)00:12, 18 September 2017

Well, the asin gives MEA where M stands for maximum :). Also, there is a hidden assumption that the bullet speed is always faster than a bot (i.e. a bot cannot run away from the bullet) and that the battlefield is infinite.

This asin is probably the oldest formula in my framework. It is dated by 2015 and was used even in an earlier bot. Yesterday, I decided that I am ready to challenge it. Actually, it was part of the effort to calculate the battlefield constrained MEA. I think I finally get it, though it still assumes that a bot can reach max speed instantaneously.

Now I expect my guns to be better especially in melee. I hope they will not shot into a wall when aiming at Diamond hiding in the corner. Hopefully my bot will move up the ladder a bit.

Beaming (talk)01:29, 18 September 2017