How to move object on surfaceview using touch event with velocity

  android, onfling, physics, surfaceview, velocity

this image describe what I want to you all

I want to fling this object with touch gesture with velocity, how to apply on surface view
how to calculate DeltaX and DeltaY on frame update and decrease velocity on collision?

Source: Android Questions

LEAVE A COMMENT