how to add swipe to spinning wheel menu? (tsb's wheel menu template)
how would i make the wheel rotate and change which actor im touching by using a swipe down or up the screen instead of two actors that say when touched go up and when touched go down
how would i do the magnitude between start of swipe and end of swipe and make that change the rotation of the wheel?
how would i do the magnitude between start of swipe and end of swipe and make that change the rotation of the wheel?
Comments
i want it to be faster rotating at first then slow to a stop, and click to what ever rotation is closest to having the level perfectly in the middle
ill be working on it
actor rotation ---> actor rotation+(touchy-releasey)
but it just interpolates the speed of rotation, how would i interpolate angles,
example, a long swipe (big difference in y for point of touchy and point of releasey) would change the angle more drastically then a small swipe
kip
then interpolating angular drag to 1 over .5 seconds, seemed to give the effect i wanted, spun faster the bigger the swipe, and slowed down according the the starting velocity
is this the best way to do it??
then interpolating angular drag to 1 over .5 seconds, seemed to give the effect i wanted, spun faster the bigger the swipe, and slowed down according the the starting velocity
is this the best way to do it??