If you haven’t yet, have a short look at VG_ExternalControllerManager on the purpose of a VG_ExternalController.
This is an external controller class that supports the LeapMotion controller as an external controller. Please refer to External Controllers for the definition of an external controller for VG.
The following requirements have to be met to be able to enable the #define USE_LEAP_CONTROLLER in the VG_EC_LeapHand.cs file and use the controller:
- You have a Core Assets plugin imported into your Unity project.
- Note that Core Assets > 4.4.0 are for LeapMotion SDK 4, older are for LeapMotion SDK 3 (lastest CA 4.3.4).
- You have the corresponding LeapMotion SDK installed on your computer.
After this, use the “LEAP_EXT” option to AutoSetup your VG configuration.
All finger bones are mapped.
Will be controlled through Leap controller system, such as Leap.Fingers.Bones.
Will be controlled through Leap controller system, such as Leap.Hand.GrabStrength.