ContactGlove Unity SDK V2

Supported productsContactGlove3 Pro

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

FeatureData or operation
Device informationID, connection state, battery and body-vibration capability
Controller inputUnpressed, touching and pressed buttons; trigger, grip, joystick and trackpad values
Joint anglesTwenty flexion and tilt angles per hand, in degrees
Hand skeletonsPre-retarget and retargeted data with 25 positions and 19 rotations relative to parent joints
Sensor positions and orientationsFive estimated sensor-center positions and orientations per hand
Retarget-profile informationQueries for names and descriptions
Body vibrationCommands addressed to a host and glove ID
Data updatesPolling, 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

  1. Setup: prepare Unity and DivingStation, install the SDK and configure HandVisualizer.
  2. Usage: operate Basic Sample, select glove IDs, read input and send vibration.
  3. API reference: data types, coordinate conversion, notifications and session lifecycle.
  4. 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.