Guaranteed Hit?
Fragment of a discussion from Talk:Polylunar
Jump to navigation
Jump to search
I haven't checked it in Java but asin(positive infinity) results in positive infinity which is true for the bot width formula if we assume that the bullet starts from the robot location. The same case also happens with Traditional MEA when bullet speed is 0.
Dsekercioglu (talk)
Wrong. Infinity means nothing in radians. Valid values are 0~2pi or -pi~pi or so.
An angle should never be infinty radians.
If it means nothing can't we assume that the traditional formula is completely wrong since with a bullet velocity of 0, it will return positive infinity.
Dsekercioglu (talk)