How can I get crouching to work?

Hello. In my character blueprint, I am trying to make my character crouch. So I attach a crouch node to the pressed part an InputAction node which I named crouch and set to CTRL and I set un-crouch to the unpressed part of the input action. When I go into the game I am unable to crouch. I looked up tutorials and they described that there is a “can crouch” check box in the blueprint defaults. Those were old tutorials so instead of the tabs they had the box with Components->Defaults->Graph. I look in the class defaults tab and I cannot find the “can crouch” check box. What settings do I need to change to get this crouching to work? Thanks.

Hey there!

Can Crouch is part of the MovementComponent component, which should be to your left if you’ve got a Character blueprint.

I’m not entirely sure if the default crouching implementation actually resizes your capsule or changes your camera height, so you should verify that as well.

Crouch does both, re-size your capsule and move your cam lower. Find it in the components tab in the CharacterMovement Component. And Search it.