We strongly recommend using onAirXR Playground in conjunction with XR Interaction Toolkit, as you can use all of the features of onAirXR Playground. (Nonetheless, it is worth noting that it is not dependent on XR Interaction Toolkit.)

XR Interaction Toolkit | XR Interaction Toolkit | 2.4.3

If you create “Playground Origin (XR Origin)” from the menu, it contains the fundamental input components including the input module, interaction manager, etc. You can use any other XR Interaction Toolkit features as you like, except for “interactors”.

Interactors

In most cases you will want to place interactors under the head or hands of the player’s avatar. If so, you need to notify the interactors to onAirXR Playground by adding an AXRPAvatarInteractor component as shown below.

Screenshot 2023-08-11 155911.png

Input Simulation for AR Device

XR Interaction Toolkit has components dedicated to AR device input. However, to provide a simplified development experience, we decided to simulate the XR controllers from device screen touches.

Player Input

XR Interaction Tookit Interactors have two main input actions : select and activate. We provide a helper component to assign Unity events for each input action.

  1. Add AXRPPlayerInput component to any game object.

  2. Select either the left hand or right hand preset for the component.

    Screenshot 2023-08-11 162707.png

  3. Assign methods from other components for each input action.

    Screenshot 2023-08-11 163240.png

🏠  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