I have been using the stuff from this post about using UIGestureRecognizer to work with cocos2d
http://www.cocos2d-iphone.org/forum/topic/8929
I am really stuck on determining the exact direction and velocity of the swipe gesture. The idea is the swipe gesture will throw a ball. I can get the point where the gesture started, but I also need the end point and time delay to determine a velocity. Anyone have any idea how to get the velocity of a swipe gesture, or just the end point.
Thanks