Hello, I’m having some trouble making my blendspace execute as intended.
What am I trying to do?:
I’m trying to learn about animation in unreal, while doing that I simply want to make a character, that can walk forward, backward, and strafe left and right. If I run forward while strafing, I want the character to play a blended animation between the strafe and forward. I’ll try to provide as much info as possible, but let me know if you need more info to answer my question. I’m using character from the 3’rd person template.
Which animations do I have?
These are the animations I’m using, Left_Strafe, Right_Strafe, Walk_Forward, Walk_Backward, Idle(MM_Idle, from the starter pack). The animations are just animations from mixamo
Blendspace settings
My blendspace is setup like this, this is the Horizontal axis, that I’m using as direction:
The Vertical axis, that I’m using as speed looks like this:
The blendspace looks like this:
I’m planning on adding running later.
AnimGraph:
My blendspace is directly connected to the output pose like this:
Direction and Ground Speed are calculated like this, they are both connected to "Event Blueprint Update Animation:
Character Movement settings
The problem
Sometimes my character starts to jump like a bunny when I strafe and move forward. In this example I walk forward and to the right. The first time the character has the intended behaviour and play an animation between strafe right and forward. The second time it starts to jump like a bunny. This seems completely random, sometimes it just walks as intended 10 times in a row and other times it starts bunny hopping right away.
In the above example the error happens when speed is 300, and the direction is 44.99, the values are also the same when the animation works as intended, if I go into the BlendSpace and test that value, then I’m unable to recreate the bug.
I hope that someone is able to point me in the right direction, because I have spend so much time debugging this, and I can’t seem to understand what the problem is.