Humper
Humper copied to clipboard
Ovelapped tiles
Good day I write some demo and found your project but i have two questions:
- is project completely dead? there is no updae for a long time, no issue..
- more practice: for example, i have box with snow terrain at (60, 60, 68, 68). than player enter to snow i want to add some additional acceleration, so i want to detect collision with such boxes (with
Cross
resolution). Now, suggest, that we have bonuses, that can generated on not occupied cells (including snow). Now, there is possible situation then i have bonus at same position (60, 60, 68, 68). So, now my player come to that cell and i receive only one collision. I drill down to sources and methodHit
inWorld
class (at line 81) take only nearest hit, so other hits with overlapped boxes will be ignored. Can you give me workaround about that issue? or may be i do something wrong?
and i found one more case: for example, i have some distructionable blocks at (12, 12, 4, 4) and (16, 12, 4, 4). now i have a bullet with size (2, 2) at (15, 16) with speed (0, -2), so i try to move it to (15, 14). I expected two collision, but receive only one