Download

Runspeed can't be used with Crouch & Prone

Hello everybody.

When creating movements of my character I noticed that when I use “crouch” then “Run” while crouched, my character works at the speed of running.
How is it possible to solve this with the blueprint please?

This is my screen :

How to explain the blueprint if he is crouching or prone should not be able to use the running.
Thanks a lot.

Hello,
in the asp character, you have a variable “crouch button down”. Use it to check if you are crouching or not before setting runspeed (or create a bool “iscrouching” if you don’t have this one.)

edit : and add a set speed when you crouch too.

Even, there is a max walk speed crouched you may use to compare and limit your maw speed too.