Open crashoverride1 opened 8 years ago
isRight and isLeft are not defined by the leap motion json. To find right or left, there is the type attribute.
Hand.type Type: string – either “right” or “left” Identifies whether this Hand is a right or a left hand.
from developer.leapmotion.com/documentation/javascript/api/Leap.Hand.html#Hand.type
So I added
hand.type = json.hands[ i ].type;
in LeapSocket.as line 383.
and
public var type:String;
in Hand.as line 143.
Working now.
@mgauth02 thanks, can you send a pull request?
Gestures are working without enable and isRight and isLeft methods are not working