# How do I make my characters use the animation at the set speed?

**URL:** <https://forums.unrealengine.com/t/how-do-i-make-my-characters-use-the-animation-at-the-set-speed/469428>\
**Category:** Character & Animation\
**Tags:** run, walk, unreal-engine, speed, question\
**Created:** [August 9, 2020, 12:53am UTC](https://forums.unrealengine.com/t/how-do-i-make-my-characters-use-the-animation-at-the-set-speed/469428 "2020-08-09T00:53:15Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Seekerentertain](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Seekerentertain](https://forums.unrealengine.com/u/Seekerentertain)\
**Post date:** [August 9, 2020, 12:53am UTC](https://forums.unrealengine.com/t/how-do-i-make-my-characters-use-the-animation-at-the-set-speed/469428/1 "2020-08-09T00:53:15Z")

</div>

So I setup my animation blend space for my character’s movement, it has an idle, walk, and run animation with the speed set from 0 to 600 (idle is zero, walk is 300, and run is 600). When the character is running it will use the running animation, but when I toggle to use the walking speed, it keeps using the running animation, but with the walk speed. I had this problem with sprinting and the only solution was to make a new blend space dedicated to it, but that seems redundant to do between what is basically walking and jogging. Does anyone know what I’m doing wrong?

---

<div class="post-metadata">

**Author:** ![EvilCleric](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EvilCleric](https://forums.unrealengine.com/u/EvilCleric)\
**Post date:** [August 9, 2020, 6:40am UTC](https://forums.unrealengine.com/t/how-do-i-make-my-characters-use-the-animation-at-the-set-speed/469428/2 "2020-08-09T06:40:36Z")

</div>

What do you mean with “I toggle to use the walking speed”? Also, what’s the character’s max speed? If 600, then the 300 and 600 marks are too high.

---

<div class="post-metadata">

**Author:** ![Seekerentertain](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Seekerentertain](https://forums.unrealengine.com/u/Seekerentertain)\
**Post date:** [August 9, 2020, 8:07am UTC](https://forums.unrealengine.com/t/how-do-i-make-my-characters-use-the-animation-at-the-set-speed/469428/3 "2020-08-09T08:07:51Z")

</div>

I made a button input to toggle the characters max speed, so for example I hit caps lock, and it caps the speed at 300. The max speed for the walk/run blend space is 600 yes, what should I set it too if those numbers are too high?

---

<div class="post-metadata">

**Author:** ![EvilCleric](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EvilCleric](https://forums.unrealengine.com/u/EvilCleric)\
**Post date:** [August 9, 2020, 1:32pm UTC](https://forums.unrealengine.com/t/how-do-i-make-my-characters-use-the-animation-at-the-set-speed/469428/4 "2020-08-09T13:32:31Z")

</div>

So, you want to toggle between walk and run? Can you show us how you doing it?

---

<div class="post-metadata">

**Author:** ![Seekerentertain](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Seekerentertain](https://forums.unrealengine.com/u/Seekerentertain)\
**Post date:** [August 10, 2020, 5:32am UTC](https://forums.unrealengine.com/t/how-do-i-make-my-characters-use-the-animation-at-the-set-speed/469428/5 "2020-08-10T05:32:38Z")

</div>

![309724-unreal-help-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/c/3/cc39837740b02f0eebb5deb01749cf8547d3b298.png)

---

<div class="post-metadata">

**Author:** ![EvilCleric](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EvilCleric](https://forums.unrealengine.com/u/EvilCleric)\
**Post date:** [August 10, 2020, 9:03am UTC](https://forums.unrealengine.com/t/how-do-i-make-my-characters-use-the-animation-at-the-set-speed/469428/6 "2020-08-10T09:03:16Z")

</div>

The code seems ok.

> _When the character is running it will use the running animation, but when I toggle to use the walking speed, it keeps using the running animation, but with the walk speed._

This means that the toggling is working. The problem must be in the animation BP. Something must be preventing the transition from Run to Walk. Did you have set something special in there?

---

<div class="post-metadata">

**Author:** ![Seekerentertain](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Seekerentertain](https://forums.unrealengine.com/u/Seekerentertain)\
**Post date:** [August 11, 2020, 8:17am UTC](https://forums.unrealengine.com/t/how-do-i-make-my-characters-use-the-animation-at-the-set-speed/469428/7 "2020-08-11T08:17:50Z")

</div>

The only thing I can think that it would be is that the walk and run share the same state and blend space. So I guess I’ll just separate them, thank you for the help though it is appreciated.

---

<div class="post-metadata">

**Author:** ![Tuerer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tuerer/32/1008648_2.png) [@Tuerer](https://forums.unrealengine.com/u/Tuerer)\
**Post date:** [August 11, 2020, 8:56am UTC](https://forums.unrealengine.com/t/how-do-i-make-my-characters-use-the-animation-at-the-set-speed/469428/8 "2020-08-11T08:56:36Z")

</div>

How do you feed the speed value to the blendspace?

You need to: 1) Get the character velocity by Event Blueprint Update Animation in your Animation Blueprint; 2) Feed the velocity to the Idle/Walk/Run blendspace in the State Machine.

Setting max walk speed is not enough. You need to transfer current speed to the blendspace.
