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 any SteamVR/OpenVR controller as an external controller. Examples are the Valve Knuckles controller or also the Oculus Touch controllers. Note that SteamVR only supports Windows, there is no Android support for SteamVR.
Important: After assuring that the following conditions are met, you have to add the scripting define symbol VG_USE_STEAMVR_CONTROLLER to your Unity player settings (Project Settings → Player → Script Compilation).
The following requirements have to be met to be able to use this controller:
- You have Steam and the corresponding SteamVR SDK installed on your computer.
- You have the SteamVR Unity plugin imported into your Unity project.
- You have OpenVR Loader selected in Unity XR Management Project Settings.
Controller Profile
If these requirements are met, you will be able to use the VG_CP_Steam.HandTracking 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 Valve.VR controller system, such as SteamVR_Action_Skeleton.
Grab Signals
will be controlled through the finger configuration (i.e. their state of bending).