roman-murashov / hedgewars

Automatically exported from code.google.com/p/hedgewars
GNU General Public License v2.0
0 stars 0 forks source link

Bee is able to fly through terrain when launched through world-wrap border #965

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start a game with at least 1 homing bee and a world-wrap border
2. Be close to the right border
3. Select the bee
4. Click on the terrain on the other side of the world-wrap border
5. Launch the bee and watch how it behaves

What is the expected output? What do you see instead?
The bee should explode in impact with the terrain (on the other side).
Instead the bee flies through the terrain. It only seems to be able to 
“impact” when the “pre-homing” timer is up (ca. 1 second after launch) 
is up.
In other words:
If the bee is in terrain after 1 second, it explodes, but if it isn't, it 
continues flying.

What version of the product are you using? On what operating system?
r6e866be63b1d on GNU/Linux.

Please provide any additional information below.
Extracted from http://www.hedgewars.org/node/6211, I was able to reproduce it.
Here is a video demonstrating the issue (made by another user): 
https://www.youtube.com/watch?v=QcXNCriw0FU
Related issue: issue 935 (this is about the bee's target, not about terrain 
collision).

Original issue reported on code.google.com by almikes@aol.com on 5 Aug 2015 at 9:04

GoogleCodeExporter commented 8 years ago
Addendum: I also noticed the bee also ignores the bouncy word edge as long it 
is in pre-homing mode. Meaning, it can fly through for the 1st second, but it 
will re-appear at the border if the second is over.

I post this here because this appears to be a pretty similar issue.

Original comment by almikes@aol.com on 9 Aug 2015 at 12:41