Premium
Streaming Lab Beta
Locomote in VR Using Teleportation
Tutorial
Beginner
30 Mins
Overview
Overview
Summary
By the end of this tutorial, you’ll be able to:
1. Add the ability to freely teleport in an environment using the Oculus Go
2. Customize where the VR user can explore
Topics we'll cover
Language
English
Recommended Unity Versions
2018.3
Tutorial
Locomote in VR Using Teleportation
Streaming Lab Beta
This tutorial contains a Streaming Lab
The Streaming Lab takes 2-5 minutes to load. Launch the Lab to load it in a new tab, and return to continue this tutorial. When you get to the Streaming Lab step, your Lab should be ready. Note that you have 15 minutes to return to your Lab before you have to reload it.
Streaming Labs are currently in Beta and optimized for North American usage.
1.
Why Teleportation?
Aside from traditional input devices such as a mouse, keyboard, and game controllers, desktop head-mounted displays (HMDs) such as Oculus Rift, HTC Vive, HTC Vive Pro, and Windows Mixed Reality Headsets, allow users to simply walk around within the range of the positional tracking devices in their room. One problem presented by this strategy is the available space of your real-world room. Some solutions to this problem have been developed, although it is important to mention that this is an ongoing challenge for VR developers, and better solutions are likely to present themselves as we move into the future.
There are a few constraints to VR locomotion:
  • Avoid acceleration
  • Provide a frame of reference for users
  • Give users agency in the movementGiven these constraints, a common solution to the problem is teleportation, which refers to movement from one position to another instantaneously. Teleportation allows a user to explore a virtual space without having to move (or moving in the confines of your surroundings) in the real world. Since virtual worlds can be larger than the real world room, it is important to be able to navigate around the virtual space.

What you will learn:
By the end of this tutorial, you’ll be able to:
1. Add the ability to freely teleport in an environment using the Oculus Go
2. Customize where the VR user can explore

Streaming Lab Beta
2.
Moving with Free Teleportation for Site Exploration
In the Teleportation Basic Module, you learned how to teleport to a series of set locations, called waypoints. In this Module, you will learn the other primary form of teleportation, called free movement. Free movement allows your VR user to choose where they teleport to in the VR space rather than be limited to a set of predetermined waypoints. You will learn how to use our Free Teleport component to move to a location based on where you point your controller or controller gaze.
Navigating around the construction site allows a user to explore the site and view the scene from different viewpoints. We will explore the Free Teleport component and see how it can be used to teleport around the site and allow the user to explore freely.
What Will You Do?
In this sandbox, you will add the ability to teleport around the scene so they can view an object from any viewpoint, regardless of the physical limitations of their real-world space.
To do so, you will:
0. (optional) Apply colliders to surfaces you would like your user to be able to freely navigate
1. Attach the FreeTeleport script component to the OVRCameraRig
2. Set the script parameters and references accordingly
3. Test it in the Editor