Animation Blend Space
A blend space allows you to blend animations together without having to animate the transitions yourself
This is useful for idle/walking/running animations, the blend space allows you to cleanly transition
between the three(or however many) based on a parameter, in most cases it's your characters speed
There are two types of blend space, Legenacy 1D blend space (Right click Content drawer->Animations->Legacy->Blend Space 1D)
And Just Blend Space (Right Click content drawer->Animation->Blend Space)
Difference Between 1D Blend Space and Blend Space
There isn't much difference except "Blend Space" has two Parameters(2D) whereas 1D Blend space has one parameter to control the state of the transition.
Creating a blend Space
After you select which blend space you want to create, you will see
In this case we choose the cop skeleton since its what we downloaded from mixamo
Since this is a "Blend Space" with a horizontal and vertical axis, we will just use
the Horizonal, making the "Blend Space" essentially function as a 1D blend space
- Open up the newly created blend space by clicking on the icon
- In the asset details(on the left hand side), expand the horizontal Axis, and set the name
to speed and the Maximum Axis Value to 700
Dragging the animations
- Drag in The Animation you want, in this case the Zombie_Idle Animation to the left hand side of the screen
- Click on the diamond you just created from the drag and drop operations
- Speed will appear on the top(If you named it that) make sure its set to 0
- Next Drag in your walk animations in the middle
- Click the diamond and set the speed to 500 (The maximum character walk speed in unreal is 500 by default)
- After that drag in the run animation
- Click the diamond and set the speed to 700