actionscript 3 - LeapMotion AS3 Find Index Finger -
is there way guarantee finger being tracked leapmotion as3 library? want track index finger.
my example below works when clenching fist , exaggerating index finger 1 want being tracked. if loosen fist, grabs thumb index finger.
if ( fingers.length > 0 ) { var indexfinger:finger = fingers[0]; }
in version 1 of leap motion sdk, there no guarantee finger list in particular order , finger @ index 0 finger. in version 2, fingers present , in order: 0-4, thumb-pinky. if using v1 libraries v2 service install, v1 behavior.
Comments
Post a Comment