Teleportation Curve

Teleportation is one of the available movement methods, and it allows you to go to a distant location, which is chosen with a curved pointer. The end of the pointer is rendering the teleportation target, which could further be rotated with the default joystick handler so that you may change the view direction when moving to the new position in space. You can find an example with the CurvedTeleportationPointer component and its setup if you explore the hierarchy structure of the XR Motions Rig prefab.

Predefined Teleportation Gestures

The teleportation gestures listed below are available as predefined in the Motions Gestures prefab. You can use them to activate the teleportation curve:

  • Joystick Teleportation Left—uses the left controller joystick to execute the action.
  • Joystick Teleportation Right—uses the right controller joystick to execute the action.
  • HandL Teleportation Left—hand-tracking detection of a horizontal "L" letter defined by pointing the index and thumb fingers of the left hand.
  • HandL Teleportation Right—hand-tracking detection of a horizontal "L" letter defined by pointing the index and thumb fingers of the right hand.

As these gestures inherit from the TeleportationPointerSource class, you need to assign their reference either to a TeleportationPointer instance or to the Teleportation Pointer Sources properties section of a PointersController class. For more information on the PointersController, see the Telerik XR Core package documentation.

Teleportation Settings

Through the Locomotion settings, you can control the following settings:

  • Whether the current movement method is teleportation or not.
  • Whether the teleportation action should be executed instantly or there should be a "fly-through" movement effect.
  • Whether some camera effects should be activated when teleporting.
In this article
Not finding the help you need?