In this section, we'll go through the main Events and Functions used in the teleportation. The next screenshot of the VR template shows when the teleport is active:
Teleportation starts when the player triggers the TeleportLeft or TeleportRight Events by pressing the thumbstick of the Motion Controller. These Events are implemented in the MotionControllerPawn Blueprint. The next screenshot shows the TeleportLeft Event. When it is Pressed, it activates the teleporter arc of Left Controller, and disables the teleporter arc of Right Controller, because only one can be active. The player points to the desired location, and when they release the thumbstick, the Execute Teleportation Event of MotionControllerPawn is called to perform the camera effect and teleport the player:
In the Activate Teleporter Function of the BP_MotionController Blueprint, the Boolean variables...