The Player Teleport component allows you to travel to another location instantly or with a delay. A fade or Vignette can also be applied to reduce motion sickness.
You can manually teleport a player from code by referencing the PlayerTeleport component in your script, and then calling either TeleportPlayerToTransform(Transform)
or TeleportPlayer(Vector3 destination, Quaternion rotation)
:
VRIF includes a TeleportPlayerOnEnter component you can add to a Trigger. Once the player enters the trigger they will be teleported to the referenced Transform. An example can be found in the demo scene - try jumping (not really) the diving board into the red area marked below.
When using a fade before teleporting, make sure to add a delay to the teleport that is at least the durataion of the fade. That way the fade has time to finish before the player moves to the next location, and the fade is then removed.
The teleport path uses a physically simulated arc to determine the teleport location. Increase the SimulationVelocity property if you want a straight line.