Set up your scene for teleport using VRTK v3.3.0 with Oculus Quest. This tutorial uses an OVR rig with tracked remote, straight pointer renderer & UI pointer scripts.
Assumptions: You have an Oculus Quest & Unity 2020.1.7f1 installed.
Add VRTK Rig & OVR
Follow these steps to set up your camera rig using VRTK and Oculus Integration assets.
Define Pointer Functionality
Click on each controller parent object and add the following components:
A. VRTK_PlayArea Cursor (Script)
B. VRTK_StraightPointer Renderer (Script)
Change Tracer & Cursor Visibility to “Always On”
C. VRTK_Pointer (Script)
Change the Selection Button to “Button One Press” for Gear VR or “Trigger Press” for Oculus Go/Quest.
Enable “Hold Button to Activate”
Enable “Interact with Objects”
D. VRTK_ControllerEvents (Script)
E. VRTK_ControllerEvents_Listener Example (Script)
If using UI elements…
Add the following components to each controller parent object:
Change the Activation Mode to “Always On”
Set the Activation/Selection Buttons to “Button One Press” for Gear VR or “Trigger Press” for Oculus Go/Quest.
Click Method set to Click on Button Up
Next, add the following to your Canvas parent:
VRTK_UI Canvas (Script)
Add Teleport Script
Lastly, create an empty game object in your scene & add the following: VRTK_Basic Teleport (Script)
Are you ready to build for Oculus Go or Gear VR?
Do you need to exclude areas from teleport using Policy List?