ContactGlove Unity SDK V2
ContactGlove Unity SDK V2 lets Unity applications use ContactGlove3 Pro. It receives the user's finger joint angles, hand skeletons, controller input and device information from DivingStation. It also supports the glove's haptics (vibration).
The SDK is a UPM package that handles communication and provides a sample for trying data exchange and visualization. VR hand rendering is not included in the SDK, but integration with Unity's official OpenXR Plugin and XR Hands is possible.
Features
| Feature | Data or operation |
|---|---|
| Device information | ID, connection state, battery and body-vibration capability |
| Controller input | Unpressed, touching and pressed buttons; trigger, grip, joystick and trackpad values |
| Joint angles | Twenty flexion and tilt angles per hand, in degrees |
| Hand skeletons | Pre-retarget and retargeted data with 25 positions and 19 rotations relative to parent joints |
| Sensor positions and orientations | Five estimated sensor-center positions and orientations per hand |
| Retarget-profile information | Queries for names and descriptions |
| Body vibration | Commands addressed to a host and glove ID |
| Data updates | Polling, update notifications, session diagnostics and multiple host sessions |
Compatibility
Use ContactGlove3 Pro, DivingStation v2.0.0 or later, and Unity 6.3 LTS. Setup covers the target platforms, installation and the VR package versions.
SDK v2 is incompatible with the legacy SDK (v1), which supports ContactGlove2 and earlier devices. They cannot be used together or installed by replacing the v1 package. Install v2 as a new integration using this guide.
Guide contents
- Setup: prepare Unity and DivingStation, install the SDK and configure HandVisualizer.
- Usage: operate Basic Sample, select glove IDs, read input and send vibration.
- API reference: data types, coordinate conversion, notifications and session lifecycle.
- Troubleshooting: connection, rendering, input and build problems.
License
This SDK uses the Apache License 2.0. Packages, models and other assets installed separately by users retain their own terms.
Contact
For questions or bug reports about this SDK, use the contact form.