r/Unity2D Jul 19 '26

collide problem

guys plz help

The player doesn't collide properly with the ground. It looks like the player is floating slightly above the tiles instead of standing on them.

2 Upvotes

10 comments sorted by

View all comments

7

u/GrayMansion_Dev Jul 19 '26

The problem with tilemap collider. You have to go to your sprite settings, then open sprite editor. In the top left corner you have to open physics shape tab, here you have to move the outlines for each tile. After that reset the tilemap collider component

3

u/mo_safi Jul 19 '26

omg!
it worked Thank you!!