Configuration

Introduction

Built-in gestures require parameters that can be modified from GestureDetectionConfiguration. These parameters are always relative to hand size.

Variables

  • Max Local Rot Z: What value must the Z-axis of the local rotation of a bone have in order to consider that its main rotation lerp equals to 1.

  • Min Local Rot Z: What value must the Z-axis of the local rotation of a bone have in order to consider that its main rotation lerp equals to 0.

Fist

  • Max Palm Rel Distance: Distance between the tip of a finger and the horizontal line of the palm, relative to the scale of the hand, above which the lerp value of the finger gesture PalmLine equals to 0.

  • Min Palm Rel Distance: Distance between the tip of a finger and the horizontal line of the palm, relative to the scale of the hand, under which the lerp value of the finger gesture PalmLine equals to 1.

Pinch

  • Max Pinch Rel Distance: Distance between the tip of a finger and the tip of the thumb, relative to the scale of the hand, above which the lerp value of the finger gesture Pinch equals to 0.

  • Min Pinch Rel Distance: Distance between the tip of a finger and the tip of the thumb, relative to the scale of the hand, under which the lerp value of the finger gesture Pinch equals to 1.

  • Min Flex Lerp To Disable Pinch: Pinch gesture shouldn't be triggered if finger tip is too close to its knuckle. This value is a threshold of Flex gesture under which Pinch gesture can be detected so they are not detected simultaneously.

Flex

  • Min Flex Rel Distance: Distance between the tip of a finger and its knucle, relative to the scale of the hand, under which the lerp value of the finger gesture Flex equals to 1.

Gesture intention

  • Min Time To Intention: Number of seconds that a gesture must be active to be considered intentionally active (only appliable for Grasp and Pinch gestures).

Last updated