It gets stuck in the wall or floor(壁や床に埋まってしまう)

Is it something like this?

I tried adding capsule collision to the face and legs but the results were the same.