Blending animations with Blendspaces

In Mars Marine, we set up our character so that when moving in different directions, we blend between the running animations we have for our marine.

We will be coming back to the animation blueprint later in this section.

What else would you like to learn in regards to animations and characters?

Feel free to post any questions below as always!

Hi, unreal 4.22’s Anim Graph don’t need Locomotion ,It is a little not work. Drag and drop directly blendspace to Anim Graph and link.

ok,I understand ,I mix link direction and speed

For those who are using newer version of Unreal ( Using 4.24 ) you’ll notice that Calculate Direction node isn’t a function node anymore, but a Pure function node. Since there’s no execution pin, you won’t be able to hook it up like in the video. I’m sharing the workaround i used in case it’s useful.

. If this is wrong in any way, feel free to correct me, but so far, this work.

3 Likes

Didn’t work for me. It compiled but the animations don’t switch.

Edit: I switched up the movement speed and direction sets and got it fixed.

You can collapse the blueprints in order to get functions made for calculating movement direction and movement speed as seen here. You will need to break the node for the marine into three separate variables in order to do so.

Hey guys, this really threw me for a loop. Thanks for the responses here. In another thread someone had mentioned the ‘green’ node of the ‘Calculate Direction’. Basically to turn this green node into a a function by itself, making it blue and having its own execs to use. After converting this, i was able to hook things up and it work. (the first node still is showing the red arrow leading from update to is valid, but it worked.

I also as a next step was to delete current variable connections from the movement blendspace and then reattach the movement speed and direction. It works now. (after a few hours watching videos ad researching online)