Prevents teleportation when the controllers are obscured from line of sight of the HMD.
VRTK_BasicTeleport- A Teleport script to utilise for teleporting the play area.
VRTK_HeadsetControllerAware- A Headset Controller Aware script to determine when the HMD has line of sight to the controllers.
- Place the
VRTK_TeleportDisableOnControllerObscuredscript on any active scene GameObject.
- Teleporter: The Teleporter script to deal play area teleporting. If the script is being applied onto an object that already has a VRTK_BasicTeleport component, this parameter can be left blank as it will be auto populated by the script at runtime.
- Headset Controller Aware: The VRTK Headset Controller Aware script to use when dealing with the headset to controller awareness. If this is left blank then the script will need to be applied to the same GameObject.
Updated less than a minute ago