Beginner Tutorial


Adding VR Grab Capabilities with Oculus Go, Lenovo Mirage, Google Daydream


15 minutes

Posted on: August 7, 2018

Learn Sumerian
Adding VR Grab Capabilities with Oculus Go, Lenovo Mirage, Google Daydream

Tags

vr
grabbing
controllers
oculus go
lenovo mirage
google daydream

In this tutorial you will learn about:

grabbing capabilities
using VR
controllers

NOTE: Going forward, we do not recommend using this and related tutorials (CoreVR asset pack) for VR functionality. Please see use the new VR Asset Pack for adding VR to your scene.

This tutorial shows how to add virtual reality (VR) grabbing capabilities to a scene in Amazon Sumerian by using the controllers of Oculus Go, Lenovo Mirage, or Google Daydream.

Prerequisites

Before you begin, you should have completed the following tasks and tutorials:

Step 1: Open a VR-Enabled Scene

From the Dashboard, load a scene that you created by following the steps in the Getting Started in VR tutorial.

Step 2: Add Grabbing Capability for Oculus Go

  1. In the Entities panel, expand the VRCameraRig entity.
  2. Choose the child controller_OG entity.
  3. Filter the Assets panel by Scripts, and then drag the 3DOFGrab script onto the Script component’s drop script box.

  4. Filter the Assets panel by Entities, and then drag the 3DOF Grab Target entity onto the Grab Target box of the controller’s 3DOFGrab script.

  5. Similarly, drag the 3DOF Grab Line entity onto the Grab Line box of the controller’s 3DOFGrab script.

  6. In the Grab Button list, add the grabbing capability to either the thumbpad or indexTrigger button.

Step 3: Add Grabbing Capability for Lenovo Mirage and Google Daydream

  1. In the Entities panel, expand the VRCameraRig entity.
  2. Choose the child controller_D entity.
  3. Filter the Assets panel by Scripts, and then drag the 3DOFGrab script onto the drop script box of the Script component.

  4. Filter the Assets panel by Entities, and then drag the 3DOF Grab Target entity onto the Grab Target box of the controller’s 3DOFGrab script.

  5. Similarly, drag the 3DOF Grab Line entity onto the Grab Line box of the controller’s 3DOFGrab script.