Ninja Bear Studio Plugins Help

Using a Movement Mode Adapter

Movement Profiles are an adapter that translates movement changes to the underlying movement system (for example, the Character Movement Component, GASP, Mover 2.0, or other custom movement solutions).

Before starting, make sure the following pre-requisites are completed:

  1. You have a Bot configured to roam and chase targets, as described in the First Ten Minutes guide.

  2. Since this guide creates a Movement Adapter for the Character Movement Component, your Bot must be based on a Character.

  3. Ideally, you should have animation assets, such as an Animation Blendspace, that can properly showcase walk and jog states.

Create the CMC Movement Adapter

  1. In your AI Blueprint folder, create a new Movement Adapter using the Content Browser contextual menu: Ninja Bear Studio → Ninja Bot → Movement Adapter. Select MovementAdapter_CMC as the base class.

  2. Add a new entry to Profile Settings, set the Gameplay Tag Key to AI.Movement.Walking, and configure the movement settings to match your walking animation set.

    Walking profile
  3. Add another entry to Profile Settings, set the Gameplay Tag Key to AI.Movement.Running, and configure the movement settings to match your running animation set.

    Running profile

Apply the CMC Movement Adapter

  1. Open your Bot Setup data asset created in the previous guide.

  2. Set the newly created Movement Adapter as the Movement Mode Adapter Class.

    Movement Adapter in the Bot Setup

Use the Adapter from the Behavior Tree

  1. Open your Behavior Tree configured for Combat, Roam, and Idle.

  2. In the Combat branch, add the Set Movement task before the Move To task. Configure it to use the AI.Movement.Running mode.

    Triggering the Running Behavior in the Behavior Tree
  3. In the Roam branch, add the Set Movement task before the Run EQS task. Configure it to use the AI.Movement.Walking mode.

    Triggering the Walking Behavior in the Behavior Tree

Use the Adapter from the State Tree

  1. Open your State Tree configured for Combat, Roam, and Idle.

  2. In the Combat state, add a new Child State named Start Running. Add a Set Movement task and configure it to use the AI.Movement.Running mode. Add an On State Completed transition to Next State.

    Triggering the Running Behavior in the State Tree
  3. In the Roam state, add a new Child State named Start Walking. Add a Set Movement task and configure it to use the AI.Movement.Walking mode. Add an On State Completed transition to Next State.

    Triggering the Walking Behavior in the State Tree

At this point, you should still have a Bot that roams around and chases the player when detected. However, the Bot should now correctly alternate between walking while roaming and running while chasing.

Last modified: 11 January 2026