Questions on making a seamless rolling-crouch mechanic.

Hi, I’m new to Unreal, (on version 5.0.3), and I’ve made some blueprints for a dodge rolling system in my player character BP that makes you crouch during the animation and uncrouch afterwards.

The rolling input



Note: I haven’t found any information as to how to make the roll check if your character is already crouching to they’ll stayed crouched after the roll is done.

The crouch input

Note: The 'Is Movement locked? then NOT" boolean branch is so that when you roll, you can’t uncrouch during the roll with other inputs.

The good news is when I roll under a surface I remain crouched so I don’t get stuck when the roll uncrouches, but when I walk from under said surface, my character immediately stands back up.

  1. How do I make it so that when they roll into, let’s say a vent shaft, that they’ll remain crouched when exiting the space.

  2. How to I make the roll check if the player is crouching so if the player stands, their roll will end uncrouched and if the player is crouching, their roll will end crouched.