Description
This class represents a child class of VG_ExternalController.
If you haven’t yet, have a short look at VG_ControllerProfiles on the purpose of a VG_ExternalController.
If you haven’t yet, have a short look at VG_ControllerProfiles 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
Controller Profile
If these requirements are met, you will be able to use the VG_CP_Unity.XRHands controller profile to setup your MyVirtualGrasp configuration (otherwise an error will appear on the console).
![VG Controller profile in Unity.](images/unity/unity_vg_ec_unityxrhands_1_4_0.png)
Functionality
Hand Poses
All finger bones are mapped.
Will be controlled through Unity’s XRHandSubsystem controller system, such as XRHand.GetJoint().