I have a 2d player who can only walk on black area. There is a red collider so player can't walk past it.
Player has capsule collider.
The problem is player can't walk toward the edge with his feets becasue of the it's collider. But player would probably want to walk toward the edge.
Here is a sketch I've made.
Is there a way to tweak this ?