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.

Description

This is an external controller class that supports the Oculus Finger Tracking controller as an external controller.

The following requirements have to be met to be able to enable the #define USE_OCULUS_CONTROLLER in the VG_EC_OculusHand.cs file and use the controller:

  • You have the Oculus SDK installed on your computer.
  • You have the Oculus Integration Plugin imported into your Unity project.
  • You have the same Oculus Integration plugin version as the one on your headset AND Oculus App.
  • You have setup the AndroidManifest.xml properly, i.e. they need to include
    <uses-permission android:name=”com.oculus.permission.HAND_TRACKING” />
    <uses-feature android:name=”oculus.software.handtracking” android:required=”false” />

After this, use the “OCULUS_FT” option to AutoSetup your VG configuration.

Functionality

Hand Poses

All finger bones are mapped.

Will be controlled through OVR controller system, such as OVRPlugin.Skeleton.

Grab Signals

will be controlled through the finger configuration (i.e. their state of bending).