Unity VRTK Teleport & UI Pointer – Oculus

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”

Enable Teleport

D. VRTK_ControllerEvents (Script)

E. VRTK_ControllerEvents_Listener Example (Script)


If using UI elements…

Add the following components to each controller parent object:

VRTK_UIPointer (Script)

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)


Scenic Mentor 5 Icon What’s Next?


Are you ready to build for Oculus Go or Gear VR?

Do you need to exclude areas from teleport using Policy List?

Do you want to incorporate 360 video, or create a Virtual Tour with 360 Images?

That’s it!
I hope this information will make it easier for you to get started with VRTK and Unity. One of the goals of is to help designers learn and work faster, giving them more time to create and more easily share their ideas with the world!
I’d love to hear comments or suggestions. Contact me here.

You May Also be Interested In...