lennaert wrote:on start of drag, store, x,y and tick start
on release, compare the x,y to current touch x,y and ticks passed
This gets you the: angle, distance and ticks passed during movement
These variables should be enough to determine a speed for the ball.
Users browsing this forum: No registered users and 24 guests