Add a new Character to AR51’s Unreal SDK
Setting up a new character for AR-51 in Unreal Engine.
Table of contents
- Prerequisites
- Creating a new blueprint for the character
- Add a New Character to the AR51SDK Skeleton Consumer
- Play and test
- Conclusion
This document provides a step-by-step guide to setting up a new character forAR-51 in Unreal Engine.
Prerequisites
- Ensure Unreal Engine is installed.
- Confirm that AR-51 SDK plugin is available and activated.
Creating a new blueprint for the character
Create a new Blueprint class
- Make a new folder for the character inside the content folder.
- Create a new Blueprint class: right-click on the folder and select “Create Blueprint Class”.
- From the options provided, choose the “Actor” class.
Add AR51Character component to the new blueprint class
- Double-click on the newly created Blueprint to open it in the Blueprint Editor.
- Add the AR51 Character component to your blueprint by clicking Add in the Component tab. Then, search for and select the AR51Character component.
Setting the Skeletal Mesh
- Navigate to the Details tab.
- Locate the Skeletal Mesh option.
- Choose the desired mesh from the available options.
Custom Joint mapping
Create a Custom joint mapping file
If necessary, create a custom mapping file. This file maps the joint names of your custom mesh to the joint names of the Unreal default character. You can begin by copying and then editing the default mapping file.
Setting the Mapping file
- Navigate to the Details tab.
- Locate the Mapping option.
- Choose the desired mapping from the available options.
Add a New Character to the AR51SDK Skeleton Consumer
Now that we have a new character available we need to make it available to the AR51SDK
- Locate the AR51SDK blueprint within your level.
- Navigate to the Details tab and find the SkeletonConsumer Component.
- Under “Character Blueprints” create a new entry in the array if necessary, or replace an existing entry with the newly created character blueprint.
- Rearrange the order of the characters in the array by dragging the array entries. This changes the loading order. Entry 0 defines the default character loaded by the SDK.
Play and test
- Press Play to start the scene.
- The game should instantiate your new character when the system detects a new person.
Conclusion
You’ve successfully added your character to the AR-51 SDK. For any issues, revisit the steps and ensure all settings are correct. Thank you for following this guide.