Inherited Capsule Colision

Hello, i can step on the edges of static meshes and this makes the game quite unrealistic… I want to make the character to fall down if it doesen’t touch the ground with its feets, but the inherited capsule colision keeps the character floating around when i am on the edge of the mesh… can someone help me with a way around this?