Hi, can you suggest one thing? I'm making a 2D game from above, and I need the character to not pass through walls

I’m making a game where the player goes through mazes and I have a problem, he goes through walls. I don’t know how to solve this, even tilemap with collisions didn’t help. Dynamic is not an option, as the player slowly falls down or bounces off the wall. If you have no idea how to fix this, tell me how to make a grid so that the player moves only on it. Thank you.

Using a tilemap with collisions is a good way to do this. This may help: I'm having trouble with tilemap collisions (SOLVED) - #14 by Feletuby_Games

1 Like

To add to what was suggested by iotaHum, I’d suggest using collision groups and masks with both referring to each other in inverse.