Hi, I want to throw things into z space along the lines of gnome toss, but not with a catapult, with a flick gesture. The touch recognition, timing, angles and stuff is done, and known factors.. I'm just at the point where I have to decide how to approach the algorithm and I'm being terribly indecisive.
It seems I need to work out, x,y and z positions, based on, angle, length of movement of finger, and amount of time of the flick.
Has anyone done anything similar to this, who can briefly discuss their approach? I'm considering using x as final angle, then a mixture of time of the flick, distance between start points as y/z.
Any tutorials/example code on the matter would be great as I feel like I'm about to spend all day hacking something that feels nice, but then again.. that's not such a bad thing, as it is MY game, so a day's work on the core dynamic is fair play... just tryna keep DRY, that's all :)