Gesture Detection
Model
GestureDetection module updates gestures from actual state of a hand. Variables of this model are described bellow:
References
Hand: Master representation of this hand will be accessed to calculate gestures. This reference has to be manually set.
Configuration: ScriptableObject with all variables related with accuracy, thresholds, minimum and maximum distances, etc. If null, the first GestureDetectionConfiguration in
HPTK.core.defaultConfAssets
will be used. This configuration file is described in detail here.Fingers: Reference to the FingerGestureModel of each finger. FingerGestureModel acts as container for finger gestures.
Control
Is Active: Is GestureDetectionController updating gestures?
Hand gestures
Grasp: Average of lerp values of BaseRotation gestures (except thumb).
Fist: Average of lerp values of PalmLine gestures.
Extra: List of extra hand gestures to be updated by GestureDetectionController.
HandPoseMatch compares current local bone rotations with local bone rotations of a given pose under a certain angular threshold. This gesture requires its own FingerPoseMatch gesture for each finger.
Last updated