Exploring 2D Blend Spaces
In Chapter 2, Working with Unreal Engine, we created a 1D Blend Space to blend between the movement states (idle, walk, and run) of a character based on the value of the Speed
axis. For that specific example, it worked pretty well because you only needed one axis, but if we wanted the character to also be able to strafe, then we couldn’t do that.
To contemplate that case, Unreal Engine allows you to create 2D Blend Spaces. The concept is almost the same; the only difference is that you have an extra axis for animations, so you can blend between them not only horizontally, but also vertically.
Let’s apply our knowledge of 1D Blend Spaces to the next exercise, where we will create a 2D Blend Space for the movement of a character that can also strafe.
Exercise 16.04 – Creating a movement 2D Blend Space
In this exercise, we’re going to create a Blend Space that uses two axes instead of one. The vertical axis will be Speed...