Help with collision

I’m trying to learn how to make a first person movement system and the actual movement part is going pretty good, but I’ve run into a really strange issue with player collision.

I have a character controller with a camera and capsule attached to it. The collision was removed from the capsule so I can just use the character controller for collision. For the most part the collision is spot on, but something is messed up with the height. You can see in the image that the entire thing easily fits under the platform, but when I hit play and actually try walking under it, it acts like I’m trying to walk into a wall. I can walk everywhere else just fine though.

The floor and platform are just cubes so their collision lines up with their meshes. I seriously can’t think of a single reason the player can’t walk under this platform.

Am I just being dumb or is this broken?

First thing to check: do you have non-uniform scaling going, eg, scaling such as (1.0, 0.8, 1.0) on the CharacterController? That should ideally always be scale (1,1,1) and ONLY visuals (such as your capsule) changed.

The next thing to check is make sure they are not touching exactly. Also, you will note that the CC is slightly larger, based on this parameter:

So sometimes the collision happens on a bigger surface than you expect.