Don't you just track the position of the finger as it makes a swipe? If the swipe is curved, then curl the ball. I guess typically the first half of the swipe is linear and defines a direction, and then use the distance of the end of the swipe from this line to determine how much curl to add.
↧