I have been searching for a while for javascripts related to Leap Motion. Most of what I have found were fragments. My whole project is in java and I do not want to change.
Starting with the basic:
#pragma strict
var controller = new Leap.Controller();
function Start(){
controller.EnableGesture(Gesture.GestureType.TYPE_SCREEN_TAP);
}
It gives an error that Gesture is an unknown identifier. I could use help with how to assign these gestures to functions too.
Thanks
↧