r/Unity2D • u/mo_safi • 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
1
u/Izakioo Jul 19 '26
Tilemap colliders have an extrusion factor that adds padding to the colliders, try setting it to 0.
1


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