# Blendspace not affecting the character blueprint

**URL:** <https://forums.unrealengine.com/t/blendspace-not-affecting-the-character-blueprint/489892>\
**Category:** Editor Scripting\
**Tags:** interpolation, unreal-engine, question, blendspace\
**Created:** [October 15, 2021, 2:37am UTC](https://forums.unrealengine.com/t/blendspace-not-affecting-the-character-blueprint/489892 "2021-10-15T02:37:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tongucci](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tongucci](https://forums.unrealengine.com/u/tongucci)\
**Post date:** [October 15, 2021, 2:37am UTC](https://forums.unrealengine.com/t/blendspace-not-affecting-the-character-blueprint/489892/1 "2021-10-15T02:37:13Z")

</div>

In my Animation Blueprint preview, the blendspace works fine. Accurate animations regarding the speed, as well as accurate interpolation time.

However, when I set that animation blueprint to an AI character blueprint, the character always does the max speed animation when he walks. Also, it acts as if the interpolation time is zero. He instantly starts the walk animation and instantly switches to the idle animation.

What can be the reason for this kind of error?

---

<div class="post-metadata">

**Author:** ![c0r37py](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/c0r37py/32/559700_2.png) [@c0r37py](https://forums.unrealengine.com/u/c0r37py)\
**Post date:** [October 15, 2021, 2:48am UTC](https://forums.unrealengine.com/t/blendspace-not-affecting-the-character-blueprint/489892/2 "2021-10-15T02:48:40Z")

</div>

for sure your ai and main character are not using the same reference variable for setting the speed

---

<div class="post-metadata">

**Author:** ![tongucci](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tongucci](https://forums.unrealengine.com/u/tongucci)\
**Post date:** [October 15, 2021, 7:55am UTC](https://forums.unrealengine.com/t/blendspace-not-affecting-the-character-blueprint/489892/3 "2021-10-15T07:55:57Z")

</div>

Okay, I fixed it by using the node Vector Length, instead of Vector Length Squared in the anim blueprint event graph.

---

<div class="post-metadata">

**Author:** ![tongucci](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tongucci](https://forums.unrealengine.com/u/tongucci)\
**Post date:** [October 15, 2021, 7:56am UTC](https://forums.unrealengine.com/t/blendspace-not-affecting-the-character-blueprint/489892/4 "2021-10-15T07:56:43Z")

</div>

They are not. I just fixed it by using the node Vector Length, instead of Vector Length Squared in the anim blueprint event graph.
