I have a tiny 2D game (scaled to 16 pixels-per-unit) with a character that must be able to walk up slopes. I gave it a CapsuleCollider2D and it seems to work fine. Additionally, my level is made up of several blocks that group into a parent with a CompositeCollider2D, as shown in pic below:
However, when jumping from one platform to the other, falling on the corner gets the character stuck as shown in this capture. I can walk off the platform to the right, but I can’t walk onto it to the left or even jump (which I assume just means my ground checking method is always returning false while stuck).
I’ve searched online for the solution but most people seem to fix it by changing their previously BoxCollider2D into a CapsuleCollider2D but I’m already using that. Is this a consequence of the scale of the game being too small, of using GameObjects as platforms instead of Tilemaps, of me having the wrong Rigidbody2D settings, or perhaps something else entirely?