Hi guys!I'm building a game similar to Fruit Ninja and i recently encountered the following problem:how do i access the touch points of a swipe event cause as you now in order to tear a fruit apart i need to know if the swipe points are the same as a fruit's location.
So basically it's something like:
If (Swipe.x==fruit.x){
Destroyfruit();
}
So is there any way to figure out the coordinates of a Swipe?
Thanks