Skip to main content Link Search Menu Expand Document (external link)

Adding a new Character

The system supports any type of Unity-compatible Humanoid Character.


Table of contents

  1. Prerequisites
  2. Set prefab a Humanoid
  3. Verify the joints are set up correctly
  4. Verify each finger has a tip GameObject
  5. Add the component “AR51 Character” to the character prefab
  6. Added the prefab to the “Character Prefabs” list inside “Skeleton Consumer”

Prerequisites

Make sure the SDK is in the scene (drag the prefab). And that the unity project is set up correctly.

Set prefab a Humanoid

Open the character FBX in the inspector and change the “Animation Type” to “Humanoid” and click Apply.

Verify the joints are set up correctly

Click “Configure” and make sure that all the unity joints are correctly mapped

Verify each finger has a tip GameObject

Make sure the finger has a tip game object.

If the fingers do not contain a tip game object, the model will not work correctly

Add the component “AR51 Character” to the character prefab

Back in Unity - edit the prefab and add the component “AR51 Character”

The system automatically maps the correct bones in the hierarchy. You can validate this by expanding the bones group in the inspector.

Added the prefab to the “Character Prefabs” list inside “Skeleton Consumer”

Select the AR51.Unity.SDK game object. In the inspector open the component named “Skeleton Consumer”. And, add the newly created prefab to the “Character Prefabs” list.