Description
This class represents a child class of VG_ExternalController.
If you haven’t yet, have a short look at VG_ExternalControllerManager on the purpose of a VG_ExternalController.
If you haven’t yet, have a short look at VG_ExternalControllerManager on the purpose of a VG_ExternalController.
Setup
This is an external controller class that supports the Unity XRHands controller as an external controller.
Important: After assuring that the following conditions are met, you have to add the scripting define symbol VG_USE_XRHANDS_CONTROLLER to your Unity player settings (Project Settings → Player → Script Compilation).
The following requirements have to be met to be able to enable the #define VG_USE_XRHANDS_CONTROLLER above and use the controller:
- You have followed the installation and setup instructions of the Unity XRHands package
If these requirements are met, you will be able to use the “VG_EC_UnityXRHands” controller profile to setup your MyVirtualGrasp configuration (otherwise an error will appear on the console).

Functionality
Hand Poses
All finger bones are mapped.
Will be controlled through Unity’s XRHandSubsystem controller system, such as XRHand.GetJoint().