The Teleport ability extends Trajectory Move by moving the character to an accepted destination immediately. Releasing the movement axes performs the teleport; an invalid destination does not move the character.

Setup

  1. Select the + button in the ability list under the "Abilities" foldout of the Ultimate Character Locomotion component.
  2. Add the "VR/Teleport" ability. The ability should be positioned near the top of the ability list so it has priority over other abilities.
  3. A default value for the Trajectory Object’s Line Renderer and Surface Indicator will be created. You’ll likely want to customize this for your project.

Verify in Play Mode

Aim at a valid destination and release the movement axes. Confirm that the character arrives at the indicator and adopts its direction when rotational changes are enabled. Repeat against an invalid surface and confirm that the character remains in place.