VRTRIX Glove Prefabs - VRTRIX/VRTRIXGlove_Unity3D_SDK GitHub Wiki

Getting Started with VRTRIX Glove Prefabs

This VRTRIX Glove Unity3D Plugin includes several prefabs that can be integrated to your project immediately. Following instructions will discuss seven of them in detail including Hand_3D, Hand_VR, TeleportArea, TeleportPoint, Interactable, ThrowableBall/Cube,VRTRIXLongBow.

Hand_3D

This is the core prefab to integrate VRTRIX Data Glove in your 3D project. All functional modules are included in one CSharp script VRTRIXGloveSimpleDataRead under the root of this prefab. Simply drag this prefab to your project, then the full-hand rotation (3DOF) will be tracked in real time. The status of your data glove and some simple data logging will be also displayed on your screen. Start developing your 3D application by simply editing the script VRTRIXGloveSimpleDataRead!

Hand_VR

This is another core prefab that allows you to integrate VRTRIX Data Glove's 6DOF full positional tracking in VR application. The main difference between Hand_3D and Hand_VR is that Hand_VR includes a VR Camera Prefab [Camera_Rig] that can will track the position of your wrist and head mounted display. [Camera_Rig] prefab is modified from SteamVR's original VR camera prefab, which will allow your application to recognize the correct order of left&right hand tracker. It also allow your VR application to integrate more interactive hardware from us, like sword&shield etc.

TeleportArea

This prefab allows you to put a teleport area on the floor, so that you can teleport smoothly inside this area in VR mode . In the example scene VRTRIXGloveVRInteraction, teleport is being triggered by making the "victory" gesture and then point towards to teleport to anywhere available. Available means the area where is unlocked, which can be chosen in the inspector panel of VRTRIXGloveTelportArea script.

TeleportPoint

This prefab is similar to TeleportArea, but instead of initiating a teleport area, this prefab initiate a single point of teleport destination. You can also choose the locked/unlocked property in the inspector panel of VRTRIXGloveTelportPoint script or enable/disable this at application runtime by modifying the script.

Interactable

This prefab allows you to create an grabbable object in VR mode. Some status info will be displayed near the interactable object, such as which gameobject hovered on it and how long it has been grabbed. Note that for this prefab, gravity is NOT enabled so that when you release the hand, the interactable object will show up at its original position.

ThrowableBall/Cube

These prefabs allow you to create a throwable object in VR mode. You can choose the attachment method in the inspector panel of VRTRIXGloveThrowable script. And you can customize the hover events from the inspector panel of VRTRIXGloveHoverEvents. In the example scene VRTRIXGloveVRInteraction, a simple material color change is applied to the hover events.

VRTRIXLongBow

This prefab allows you to create a long bow that can be picked up and used by Data Glove in VR mode. Pick up the long bow using left hand and draw your bow using right hand. An virtual arrow will appear when you draw, then release right hand when you are ready to fire.

**Please not that this prefab is currently under development, will be updated on next release.