Crouch mode problem

Hello, the problem is the following. When a character enters crouch mode while the shift button is pressed, upon exiting crouch mode he does not exit running mode even when I release the shift button. What checks can you come up with for this?

Hey @rewhakki!

It’s a bit hard to tell what could be the problem here with the context given. Would you mind sharing your blueprints so far?

Otherwise, it really depends on how your sprint is toggled. If it is a Boolean, do you ensure that bool is false while crouching, then recheck if the sprint button is still being held after crouch is released?

Any additional specifics you provide may go a long way in solving your problem!

1 Like

Thanks, I found the solution!

Immediately after the node with the shift button, I had a branch node that was connected to “Is Crouching,” which for some reason did not work. I just created my own Boolean node “Is Crouching?” and changed it from the default one and everything worked out.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.