Teleport to a Hotspot
Updated: Nov 6, 2025
In this tutorial, you will learn how to use Interaction SDK locomotion interactions to teleport or snap turn to the location of an object in your Unity scene using your hands or controllers. It assumes you have a scene set up with a camera rig configured for interactions and an object placed in the scene you want to use as a hotspot. If you do not have a camera rig set up, you can add one by following the instructions in the
Create Comprehensive Rig guide.
To teleport, you need to add a teleport interactable. The most basic type is the Hotspot, which defines an absolute locomotion target in the scene.
Right-click on the object you want to use as a hotspot and select Interaction SDK > Add Teleport Interaction. The Teleport wizard appears.
In the Teleport wizard, set the Interaction Type to Hotspot. Set the Hotspot Snap property to Snap Position and Rotation. This will allow you to teleport to the hotspot object and snap your rotation to match the hotspot object’s rotation.
In the Teleport wizard, select Fix All to fix any errors. This will add missing components or fields if they’re required.
If you want to further customize the interaction, adjust the interaction’s settings in the wizard. For details on the available options, please see the
Teleport Quick Action documentation.
Select Create. The wizard automatically adds the required components for the interaction to the GameObject. It also adds components to the camera rig if those components weren’t already there.
Use
Link to test your project.
Open the Link desktop application on your computer.
Put on your headset, and, when prompted, enable Link.
On your development machine, in Unity Editor, select the Play button.
Tap your thumb against the side of the index or press the joystick forward on your controllers. A ray is emitted from your hands or controllers. Aim it at the teleport hotspot and either tap your thumb again (if using hands) or release the joystick (if using controllers), to teleport to that location.
Build your project into an .apk to test your project.
Make sure your headset is connected to your development machine.
In Unity Editor, select File > Build Settings. Add your scene to the Scenes In Build list by dragging it from the Project panel or clicking Add Open Scenes.
Click Build and Run to generate an .apk and run it on your headset. In the File Explorer that opens, select a location to save the .apk to and give it a name. The build process may take a few minutes.
Tap your thumb against the side of the index or press the joystick forward on your controllers. A ray is emitted from your hands or controllers. Aim it at the teleport hotspot and either tap your thumb again (if using hands) or release the joystick (if using controllers), to teleport to that location.