In most cases you will want to create an avatar for each player. Create your own avatar and assign it to AXRPlayground component.

Screenshot 2023-08-11 145147.png

VR Avatar

A VR avatar for VR HMD players consists of four parts :

How to create a VR Avatar

  1. Create a VR Avatar prefab from the menu.

    Screenshot 2023-08-11 131132.png

  2. Put visuals for each part of the avatar in the prefab.

    Screenshot 2023-08-11 131729.png

  3. Put interactors under the hands as needed. (refer to Handle Player Input)

    Screenshot 2023-08-11 132224.png

Mono Avatar

A mono avatar for AR device players consists of three parts

How to create a Mono Avatar

  1. Create a Mono Avatar prefab from the menu.

    Screenshot 2023-08-11 143922.png

  2. Put a visual for the head in the prefab.

    Screenshot 2023-08-11 144113.png

  3. Put interactors under the hands as needed. (refer to Handle Player Input)

    Screenshot 2023-08-11 144256.png

Avatar Selector

You can create multiple avatars and select one for your player based on different policies :

How to create an Avatar Selector

  1. Create an avatar selector prefab from the menu.

    Screenshot 2023-08-11 145615.png

  2. Set your avatars in the inspector as you want.

    Screenshot 2023-08-11 145850.png

Best Practice for Avatar Selector

Avatar Selector is also a type of Avatar. This means you can construct an avatar selector chain using different kinds of avatar selectors.

Here is an example of a typical avatar selector chain.

🏠  onAirXR Playground Developer Guide

Getting Started


System Requirements


Quick Start


Explore Demo Scene


Programming Guide


Create Avatar


Set Places


Handle Player Input


Share Animator


Share Video Player


Share Timeline