Before getting my Leap Motion, I saw tutorials using the Gesture class. As I've seen in the documentation, this is not used anymore. I am trying to find what is the best way to check for a simple swipe gesture, and then move on from there. I have seen from this forum that we have to code the swipe gesture ourself now.
I have tried to find the current direction in which user is swiping from getting the direction of the last finger position to the current. Then, add this direction to a list. Using this list, I check if the last few directions are equal to something like a cube but this is becoming a lot of work and is not very accurate.
Is there any simpler way to do this, or any example that I can use to help guide me in this?