Ninja Bear Studio Plugins Help

Configure Input Handlers

Configure Ninja Input and replace the default configuration from a project, such as the Third Person Template, so it will use Input Handlers and an Input Setup.

Add Ninja Input to your project

  1. Follow the steps from the Setup page. In this guide, we will add the Input Manager Component to the Player Controller.

  2. Set your Player Controller to your Game Mode either in your Level Details, or in your Maps and Modes page in the Project Settings.

Remove the original input handling logic

  1. Open your Project Settings, navigate to Enhanced Input and make sure that there are no Default Mapping Contexts.

  2. Navigate to your Character Blueprint, open it and go to the Event Graph.

  3. Remove all input-related nodes, including the ones connected to Begin Play.

Configure the Input Setup

  1. In the Content Browser, navigate to your Input folder.

  2. Right click to open the Context Menu, navigate to the Input category and select Ninja Input Setup. Name it in a way that it correlates with your Input Mapping Context, for example: IMC_GameplayIS_Gameplay.

  3. Open the new Input Setup and add your Input Mapping Context.

  4. Add three new entries to the Input Handlers list, selecting: Character: Move, Character: Look and Character: Jump.

  5. For each one of these entries, expand their properties and add the appropriate Input Action.

    By default, they will have Input Actions starting with IA_NI, which are the ones provided by Ninja Input. Make sure to replace them with their counterparts, provided by the project.

    Configure Input Setup

Assign the Input Setup to the Input Manager

  1. Navigate to the Player Controller, where the Input Manager was added.

  2. Click the Input Manager Component to open its Default Values.

  3. Add the newly-created Input Setup to the list of Input Setups.

    Add the Input Setup

Test everything

  • Hit Play and all your inputs should work as expected: you should be able to move, look around and jump.

Finished initial setup
Last modified: 25 October 2024