VRTK_TeleportDisableOnControllerObscured
Overview
Prevents teleportation when the controllers are obscured from line of sight of the HMD.
Required Components:
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.
Script Usage:
- Place the
VRTK_TeleportDisableOnControllerObscured
script on any active scene GameObject.
Inspector Parameters
- 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