How to Teleport in VR
Objective: Set up the ability to teleport in your scene.
A very common way to navigate in VR is the ability to teleport. It only takes a few steps to set up. To begin we need to add a teleportation provider.
Next attach the locomotion system to the teleportation provider.
This is half the job. Next, we need to create teleportation interactables. In my scene we have the objectives on different planes. So, I select the plane and add a teleportation area.
First thing to do is drag the collider into the collider section on the teleportation area. This way it doesn’t need to automatically populate it.
Under ‘Teleportation Configuration’ you can find Teleportation triggers. This is what decided to make the teleportation happen. The options listed are from the action map. If you go the one of the hands you will see a select action, and an activate action.
By default it is set to select. This means that the input set to the select action is what is going to trigger the teleportation. Currently for me it is the grip button.
You can now load your scene are your will be able to activate a teleportation when your hand is pointed inside a teleportation area.
There are also teleportation anchors. Like teleportation areas they will teleport you, however teleportation areas will snap you to a specific location with a set orientation.
Now you have the ability to teleport around your scene! Don’t be afraid to experiment with your teleportation settings, and I’ll see you in the next tutorial!