Tutorial - Character Pipeline - Using a Blend Space File

Overview

The following tutorial will walk you through using an example blend space file and adding your own animations to it.

Prerequisites

  • Familiarity with creating and assigning blend spaces to your character. See Tutorial - Character Pipeline - Creating a Blend Space.
  • A Mixamo character with a skeleton, mesh, and the following locomotion animations set up: Falling Idle, Idle, Jump, Left Strafe Walk, Right Strafe Walk, Left Strafe Run, Right Strafe Run, Left Turn 90 Degrees, Right Turn 90 Degrees, Running, Slow Jog Backwards, Walking. The character and its animations should be imported into your CRYENGINE project.

    For more information on creating a Mixamo character from scratch, refer to our step-by-step tutorial blog.

  • A copy of the following blend space example file:
    locomotion.bspace

Loading the Example Blend Space File

  1. Navigate to the sub-folder that contains your character file and it's animations in your CRYENGINE project's directory; this is typically, Assets/Objects/Characters/<your character>.
  2. Create a folder called blendspace in your character's folder and place the provided blend space example file within it.
  3. In the Sandbox Editor, open the Character Tool (Tools → Animation → Character Tool) from the main menu.
  4. In the Assets panel of the Character Tool, locate your character's .cdf file under the Characters folder and double click to open it.

    At this point, in the Character Tool's Properties panel, you should see information related to the various attachments that make up your character.

  5. Under Animations in the Assets panel, you should now see a folder called blendspace. Within it, locate the locomotion.bspace file you saved in step 2 and click it to open it.

Visualizing Blend Spaces

To visualize the blend spaces we create in the Character Tool, select the View → Blend Space Preview option from the menu in the top-right corner of the tool to open the Belnd Space Preview panel.

Under Examples in the Properties panel, you'll find that each of the examples show the following error due to the Engine being unable to locate the placeholder animations.


Examples error

To fix this:

  1. Replace each placeholder animation by clicking icon beside an example, and selecting your own animation from the Animation Alias Selection window that opens up.

    Make sure to stick to the original order of examples while assigning animations; the Idle example must have an idle animation assigned to it, walking animations should be assigned to the Walking example, and so forth.

  2. Save your changes by clicking the icon at the top of the Properties panel.

Your blend space file is now successfully set up. The next step is to set up your animations in the Mannequin Editor; see Tutorial - Character Pipeline - Mannequin Setup for more information.

Video Tutorial