Table of Contents

Teleport

VIROO provides two Teleport features: Free Teleport and Teleport Points.

Free teleport

The Free Teleport lets all users move to any location in your VIROO Application. To do this, the Teleport Ray can be brought up from the VIROO menu. You can also activate the teleport with the middle mouse button in Desktop, or by pressing the right joystick forward in VR.

On CAVE systems the teleport is disabled (free flight mode works instead).

The teleport beam will turn blue when teleporting is possible. In case the beam collides with a surface that's not valid for teleporting, then it will turn red.

Define your own teleport area

When creating your content, keep in mind that the colliders you add (other than IsTrigger colliders) will block the teleport ray.

To define Teleportable Areas in your Environment, you need to add the TeleportationArea component to your Unity scene. This component lets the user select any location on the surface as their destination. Its InteractionLayerMask property has to be set to Teleport.

In this component, you have to set up the Colliders field with the colliders of your teleportable surfaces.

Teleport points

It's also possible to define points in your Unity scene that you want users to teleport to. You can add these teleport points to your Unity scene and users will see them within the VIROO menu in the Teleport section. Each point will be identified with a label indicating which point is which.

To add a Teleport Point, place a GameObject in the environment that represents the position of a point of interest, and add the TeleportPoint component to it.

This component contains the following fields:

TeleportPoint
Field Description
Index Enter an integer to set the order in which they appear in the menu.
Identifier Must be a unique identifier for this Teleport Point.
Label The text label that will appear in the Teleport Points menu for this item.
Selectable From Menu Whether this item appears in the menu or not.
Apply Rotation If set, it will also set the rotation of the users besides the position.