I made my first person character crouch by changing the capsule half height on key press, but whenever i un-crouch while the character is inside a vent or under a table, he clips though and gets stuck on the other mesh. I checked the collisions of the character and meshes and they are set to block all, is there something i missed? Can I also disable the crouch key when the character is in small spaces?
Any help is appreciated.