Making the world interactable

Getting started with XR Grab Interactables in Unity

Kimberly Siva
6 min readJan 24, 2024

This article is part of a series in which we build a mixed reality app from scratch. See the previous part here.

Today we’re going to make our globe interactable! When we’re finished things will look like this:

Let’s get started.

Importing our models

First let’s import two models that we created in an earlier article: Ocean and India. Adjust the import settings for each model to Bake Axis Conversion:

This will ensure the models face the same way as they did in Blender. If interested, you can read more about our coordinate setup here.

Setting the scene for XR

Let’s create a new empty scene and set a few things up.

  1. Add the MRInteractionSetup prefab. Expand this, and deactivate the Goal Manager and Object Spawner. We might make use of these later.
  2. Add a Directional Light. In the inspector set Shadow Type to No Shadows. This will help with performance.

--

--

Kimberly Siva

Augmented and virtual reality developer since 2008. Master's in computer science from Georgia Tech, experience across industry from Qualcomm to the CDC.