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.
Who is online |
Users browsing this forum: MadSpy, MuriloBeeble and 4 guests |