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.
In this tutorial, we will look at how to add VR teleportation capabilities to an Amazon Sumerian scene for the Oculus Go.
You’ll learn about adding teleporting capabilities for VR scenes.
Before you begin, you should have completed the following tasks and tutorials:
- Sign in to Amazon Sumerian with your AWS account
- All Amazon Sumerian Getting Started tutorials
- Scripting Basics tutorial
- Getting Started in VR
Step 1: Open a VR enabled Scene
From the Dashboard, load a scene that has completed the steps found in the Getting Started in VR tutorial.
Step 2: Add Teleporting Functionality for the Oculus Go
- In the Entities panel, expand the VRCameraRig entity.
- Select the child controller_OG entity.
Filter the Assets panel by Scripts, and then drag the 3DOFTeleport script onto the drop zone of the Script component.
Filter the Assets panel by Entities, and then drag Teleport Target onto each controller’s Teleport Script Teleport Target drop entity input.