|Anonymous | Login | Signup for a new account||2019-05-24 13:07 CEST|
|My View | View Issues | Change Log | Roadmap | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000003||Trackgame||[All Projects] Core||public||2014-11-26 00:09||2014-12-19 20:20|
|Priority||high||Severity||major||Reproducibility||have not tried|
|Status||closed||Resolution||no change required|
|Summary||0000003: [Engine] Collision problem with borders|
|Description||Found one case where a move of a player ended in a crash with a border while it should not have happens.|
After looking deeply with paint, it seems like there is one pixel difference between expected collision and effective one.
It is not SUCH a big deal as the player move MUST have at least one pixel matching with the border (so this can be judged as actual crash), but it is supposed to be a pixel of graphical border and not an engine one.
|Additional Information||Map with the problem : "bubuche"|
Move concerned : see screenshots.
|Tags||No tags attached.|
|Attached Files|| fail_collision.PNG [^] (125,304 bytes) 2014-11-26 00:09
fail_game.PNG [^] (159,733 bytes) 2014-11-26 00:11
After deep inspection, this is not a bug after all.
Indeed, collision detection is done on each pixel of the trajectory and also on the four cardinal pixels around the pixel tested. If any of those cardinal pixels collide with a border, then a crash is triggered.
Here there is only one pixel affected (a left one) but it makes the crash happens.
Cardinal pixel test is done in order to avoid having a trajectory going through a border without triggering a crash. (Which can happens under certain specifics circumstances.)
Anyway, there is still a contact with the border, so this move ending into a crash is not absurd.
|2014-11-26 00:09||Prndndrd||New Issue|
|2014-11-26 00:09||Prndndrd||Status||new => assigned|
|2014-11-26 00:09||Prndndrd||Assigned To||=> Prndndrd|
|2014-11-26 00:09||Prndndrd||File Added: fail_collision.PNG|
|2014-11-26 00:11||Prndndrd||File Added: fail_game.PNG|
|2014-11-26 00:14||Prndndrd||Summary||[Engine] Collisions problem with border => [Engine] Collision problem with borders|
|2014-11-26 00:14||Prndndrd||Description Updated||View Revisions|
|2014-12-19 20:20||Prndndrd||Note Added: 0000001|
|2014-12-19 20:20||Prndndrd||Status||assigned => closed|
|2014-12-19 20:20||Prndndrd||Resolution||open => no change required|
|Copyright © 2000 - 2019 MantisBT Team|