Download

Problem with gauging animations to player move speed

I have some blueprints down to get the player characters current velocity and turn that into a variable in my animation blueprint to tell whether to use a walking, running, or stopped animation. I know that my blend-space is working fine because I can check it out of gameplay, but for some reason even when I’m walking, the sprint animation plays. But strangely, the idle animation plays. Which tells me that my ‘speed’ variable is being made to high, but I can’t figure out how to tune it down. My code is below


Regards, Hazmat
I am using Unreal Engine 4.26

Hi @Hazmatgames ,

you may try to use the VectorLength without the Squared.

Thanks

Thank you, that worked

1 Like