Hi,
Here’s an interesting one. I am dragging an object and am recording x and y each time I get an onTouch event.
My question is, For each onTouch event, the x and y can vary quite a bit, (if you drag an object fast vs slow)
Is there a way to record the movement of an object without the acceleration so that the movement is uniform (with no acceleration)?
If I move a player from A to B , and then another player from C to D, I want their movement to match, what I am getting is different speeds based on how quickly the user dragged the object.
Thanks for any help! Greg
For Example:
Moving Slow Moving Fast
Tick X Slow X Fast Drag
1 100 100
2 101 106
3 102 111
4 103 116
5 104 119
6 105 125