Hi, I have a view that I want to spin on the z axis and if you swipe your finger fast enough it should continue to spin and slow down, much like the scroll views do.
I'm having a lot of trouble trying to figure it out. I've seen some people do it before but the result they get isn't really all that good. Like, the view spins like it should only if you swipe in a particular direction.
All I've successfully been able to do is have the view rotate for a set time and set angle. I don't know how to calculate the time and angle based on the speed of the finger.
I'm having a lot of trouble trying to figure it out. I've seen some people do it before but the result they get isn't really all that good. Like, the view spins like it should only if you swipe in a particular direction.
All I've successfully been able to do is have the view rotate for a set time and set angle. I don't know how to calculate the time and angle based on the speed of the finger.