Beginner Tutorial

Adding VR Grab Capabilities with Oculus Go

15 minutes

Posted on: August 7, 2018

Learn Sumerian
Adding VR Grab Capabilities with Oculus Go


oculus go

In this tutorial you will learn about:

grabbing capabilities
using VR

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.


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: Test Your Scene

In this last step, you test the grabbing capability with a primitive Box entity.

  1. Choose Create Entity above the canvas, and then add a Box entity.

  2. In the Entities panel, choose the Box entity.
  3. In the Inspector panel, choose Add Component.

  4. Choose the Collider component.

  5. Publish your scene.

  6. Navigate to the link to your published scene from your HMD, and then click the Enter VR button.

  7. Press the assigned grab button and aim your controller somewhere in the scene. You’ll see a grab line (white line fading out to distance). If grabbing is successful, you’ll see the grab target (white ping animation with a white flare in the middle) on the cube.

Now publish and share your scene!

Now that you understand more about grabbing objects in Oculus Go you should try the following tutorials:

Back to Tutorials

© 2019 Amazon Web Services, Inc or its affiliates. All rights reserved.