I have a simple crouching function in my first person character, how would I make it so they can’t uncrouch if they are in a small space like a vent shaft?
You can line cast above the mesh to see iif there is an obstacle. if there is and the character is crounching he should not uncrounch.