Hello! I’m trying to build a level for 2D platformer and I’m not sure how to provide the ground with a collider in a proper way.
Look at the picture. Although ground tiles are quite simple, Tilemap collider + Composite collider cause those little “pits” and the characters stucks.
Now I’ve fixed this issue with using a circle collider for character’s legs.
Is this approach correct or there is some “best practice” of solving this problem?
You can control the shape of the sprite’s collider in the sprite editor, use the dropdown at the top left to customize the physics shape.
1 Like
Wow, thanks a lot. That’s really cool stuff I haven’t seen before in tutorials.
For those who faced the same problem, I leave a screenshot.
P.S. It’s also important to uncheck and check again “Used by composite” option of Tileset collider when you finished with the new shapes of sprites.

1 Like
Thanks for sharing this.
I learned something new! 