solarus icon indicating copy to clipboard operation
solarus copied to clipboard

Problem with non-traversable destructibles

Open Diarandor opened this issue 9 years ago • 0 comments

Problem with non-traversable destructibles. This was found while fixing a script bug for the iron ball (if the iron ball falls over the hero, he may get stuck on it, and sometimes he cannot even lift the ball).

-Put a non-traversable destructible in the editor. Then cover it completely with traversable destructibles above it. You cannot traverse the part where the non-traversable one is.

-I have the same problem if I put a custom entity with traversable ground above it; note that if I use a "shallow_water" ground on the custom entity, the watery effect is shown but the hero is still stuck, so maybe this is not exactly a problem of ground detection (I don't know). The overlapping detection is working correctly too.

Diarandor avatar Apr 06 '17 16:04 Diarandor