Interactivity

Introduction to XR Interaction Toolkit

Notes on versions:

  • The videos use Unity 2019.4.26 and the XR Interaction Toolkit 0.10.0-preview.7. Newer version of the toolkit has different options for the prefabs in the context menu. We recommend using 2019.4.40 with XR Interaction Toolkit 2.1.1.

XR Interaction Toolkit Overview

More information on XR Interaction Toolkit | XR Interaction Toolkit and Samples | XR Interaction Toolkit.

Interactor and Interactables Overview

Tutorial on Using Interactors and Interactables with the XR Interaction Toolkit

Ray Interactor

Direct Interactor

Socket Interactor

Socket Spawner

Hide Controller On Select

Add Quest Touch Controllers

Download the touch controller 3d models.

Attach Transform

Activation

Unity Events

Unity Events Overview

Here, you can find the manual.

Scripting Unity Events

The link to the manual on scripting unity events.

Haptic and Sound Events

Simple Input Values using Unity’s XR Toolkit

More Flexible Input Value Script

The following script gives easy access to all controller inputs (written by Markus Kirjonen)

CustomXRInput in Editor
CustomXRInput in Editor

Additional Material

Inherit from Grab Interactable

This tutorial requires a little more understanding of object inheritance, thus it is optional.

Related tutorial is How to use Controller Velocity in Unity XR.

Debugging

XR Device Simulator

The XR Device Simulator requires the action-based version of the XR interaction objects such as the XR Origin. How To Add The XR Device Simulator To Speed Up Development

XR Interaction Debugger

The interaction toolkit provides also an debugger window on all XR interaction assets in the scene such as the interactors and interactables and their current state. Here you can find further information.

Next