Challenge — Configure Free Teleportation
Tutorial
·
Beginner
·
+10XP
·
30 mins
·
Unity Technologies

In this challenge, you will be implementing the FreeTeleport script into the construction site scene. Once implemented, you can explore the scene in the Editor runtime or build the project to the Oculus Go to test it out there.
Languages available:
1. Moving with Free Teleportation for Site Exploration
In this challenge, you will implement the FreeTeleport script into the construction site Scene. Once implemented, you can explore the Scene in the Editor runtime or build the project to the Oculus Go to test it out there.

Before

After
In this challenge, you will implement Free Teleport to give your users the ability to move freely around the Scene. To do this, you will:
- Attach the Free Teleport component to the OVRCameraRig
- Configure the Free Teleport component appropriately
- Ensure the teleport surface has a Collider component attached
2. Attach the Free Teleport Component to the OVRCameraRig
Add the Free Teleport component to the OVRCameraRig to give the user the ability to freely navigate the virtual Scene.

- Locate the OVRCameraRig in the Hierarchy.
- In the OVRCameraRig’s Inspector, click Add Component.
- Search for and select the FreeTeleport component.
3. Configure the Free Teleport Component
Configure the Free Teleport component to work in your Scene.

- Set the parameters appropriately on the FreeTeleport component in the Inspector window.
- Set Controller to R Tracked Remote.
- Set the Controller Transform to the RightHandAnchor.
- Set the Button to Primary Index Trigger.
- Assign the Teleport Marker to TeleportMarker Prefab.
4. Ensure the Teleport Surface has a Collider Component
Confirm that the ground GameObject has a Collider so that the Free Teleport component will be able to detect the teleport surface.

- Find the Ground GameObject in the Hierarchy.
- Look at its Inspector.
- Ensure you see a Collider object.

Tip — Mesh Colliders
Most GameObjects visible in the Scene will have a Collider by default; however, if the object does not, you can quickly add a Mesh Collider (Add Component > Mesh Collider).
5. Key Takeaways
Click Play and now you will be able to teleport freely around the Scene. (Note that you are able to test this with the mouse and WASD keys for rapid iteration.) After it's working in the Editor, deploy the project to the Oculus Go and try it in VR!

By completing this module, you're now able to:
1. Add and configure the Free Teleport component
2. Ensure the Teleportable Surface” has a Collider on it
3. Test the functionality in the Editor