Why get my character controller stuck?

Hi,

I use the standard character controller in one of my 2D platformer games. The character controller (CC) stuck in a wall if the character fall down a stage. He moves downwards, but obvious slower. It looks like sliding down at the wall. If the player jump against a wall and fall down there is no sliding or something like this. The CC just fall down in the normal speed. It only appears if he fall down from a stage and slide along the side of the stage.

I read the Unity docs and set up the Skin Width to 10% of the CC, but this doesnt’ help. My CC values:

Slope Limit: 90
Step Offset: 0.1
Skin Width: 0.4
Min Move Distance: 0

Center x: 0 y: 0 z: -0.65

Radius: 4
Height: 1

Has anyone an idea how to fix this problem? Is there a workaround or are my CC values wrong?

Thank you.

Tuni

If your character controller parent game object has children with colliders (primitive or mesh) they will cause problems with the character controller’s ability to handle collision. Try removing colliders from any children.

I spent an hour messing with slope, skin and step offset until I tried removing the collider from my head mesh then adjusting my body collider to also cover the head. Cleared my issue right up and I was able to put my slope, skin and step offsets back to realistic values without any issues. Makes calculating headshots a little more tricky, but I’ll probably just replace the character controller with a custom one eventually.

I found a short-term solution. Try lowering the radius of the collider of the CC. Of course it could go down to 0.1 but it works just fine as an annoyance stopper.s