Getting Started (Interaction Engine) - VRTRIX/VRTRIXGlove_Unity3D_SDK GitHub Wiki
Get to Know Hand_VR Component
The structure of a pair of hand in VR mode when using the Interaction Engine will generally look something like this in your Scene Hierarchy:
- Hand_VR // Root object which contains two main scripts, you need both two of them to make interaction working in VR mode
|- LH // Left hand object (its children contains joint hierarchy & left hand mesh)
|- RH // Right hand object (its children contains joint hierarchy & right hand mesh)
|- [CameraRig] // Steam VR Camera & Controllers Manager.
|- Camera (head) // Steam VR Camera Rig
|- Tracked Devices // VRTRIX Tracking Objects Reference
'- [SteamVR] // Steam VR Rendering Manager
Getting Started
If you're looking to add VR support to your scene, you can follow these steps:
- Delete your
Main Cameraobject. - Drag the
Hand_VRprefab fromVRTRIX/Prefabsinto your scene.
If you're looking to add teleport support to your scene, you can follow these steps:
- Drag the
Teleportingprefab fromVRTRIX/Prefabsinto your scene. - Drag the
TeleportAreaprefab fromVRTRIX/Prefabsif you want to create an teleport-enabled area in your scene, and you can easily toggle the availability by check/uncheck theLockedcheckbox inVRTRIXGloveTeleportAreascript. - Drag the
TeleportPointprefab fromVRTRIX/Prefabsif you want to create an teleport-enabled point in your scene, and you can easily toggle the availability by check/uncheck theLockedcheckbox inVRTRIXGloveTeleportPointscript.
If you're looking to add an interactable object to your scene, you can follow these steps:
- Drag the
Interactableprefab fromVRTRIX/Prefabsinto your scene.
If you're looking to add a throwable object to your scene, you can follow these steps:
- Drag the
ThrowableBall/ThrowableCubeprefab fromVRTRIX/Prefabsinto your scene or create your own interactive object using customized mesh.
If you're looking to add an UI panel that the glove can interact with to your scene, you can follow these steps:
- Drag the
UIprefab fromVRTRIX/Prefabsinto your scene and edit the Canvas to make your own UI.
If you're looking to add VRTRIX Customized Tracking Objects that the glove can interact with to your scene, you can follow these steps:
- Drag the
Sword/Shield/Extinguisherprefab fromVRTRIX/Prefabsinto your scene depending on which hardware you want to add. - Pair the hardware first before you run the game. Customized Tracking Objects pairing procedures are the same as traditional HTC Vive trackers/controllers.