ABSTRACT

SteamVR includes code for virtual teleportation. The script allows a viewer to point the controller to the location they want to teleport to, hit a button, and be teleported there. The SteamVR_Teleporter.cs script is designed to be used in conjunction with HTC Vive controllers, but we can modify it to work without. In this chapter, we are going to use the teleporter code in a way it was never intended to be used. With a few modifications, the teleporter code will work with the viewer's gaze combined with a mouse or a standard game controller button press.