Setting up the Footsteps Component

Note: Emerald AI 2024 version 1.1.1 or higher is required to use this component.

Setting up the Footstep Animation Events

First you will need to add Footstep Animation Events to your AI's movement animations (as well as any other animations you want footstep to happen with). You can do this through the Animation Viewer Manager. This can be accessed through an AI's Animation Component by pressing the "Open Animation Viewer" button.

Through the Animation Viewer, you will be able to view your AI's animations right within the scene. Start with selecting your AI's movement animations (walk and run for all categories that your AI is using) and assign a Footstep event for each footstep your AI's animations have. This should be done using the Footstep Event Type through dropdown menu. When you have finished applying all of your Footstep Animation Events, you need to press the "Apply Changes" button to save the events.

Note: You can add Footstep Animation Events to any animation you want that has footsteps (such as turning, getting hit, attacking, recoiling, dodging, backing up, strafing, etc.).

Note: You can wait until you have applied all your Footstep Animation Events before pressing the "Apply Changes" button.

Setting up the Ignore Layers

The Ignore Layers control which layers will be ignored when calculating footsteps.

Note: Your AI's own layer and its LBD's Collider Layer (if using a LBD component) will automatically be included during runtime.

Assigning Feet Transforms

You will need to assign an AI's Feet Transforms. Raycasts will be fired from these points to calculate footsteps during each Footstep Animation Event. You can press the "Auto Grab Feet Transforms" button to allow the Footsteps Component to try and get the AI's feet automatically. If the feet transforms cannot be found automatically, you will need to assign them manually.

Assigning Footstep Surface Objects

Lastly, you will need to assign Footstep Surface Objects to the Footstep Surfaces list. To find more information on these, see the Footstep Surface Objects section.

Last updated

Was this helpful?