Playmaker Forum

PlayMaker Help & Tips => Android Help => Topic started by: spiralKing on February 05, 2014, 05:46:57 PM

Title: Rotating a wheel with touch
Post by: spiralKing on February 05, 2014, 05:46:57 PM
I have a wheel that I'm trying to rotate with touch, but not just flicking or swiping it, it has to have a circular motion

e.g.


In addition to rotating, I need help figuring out how to get the wheel to pop to specific positions

e.g.

Imagine a 12 hour clock; I'm rotating a wheel with points that align with the numbers (12, 3, 6, 9) on the clock

Say if my finger rotates one of those points on the wheel from 12 to 3, maybe I don't actually reach 3 but if the point is closer to 3 than 12, I want it to pop to 3 or pop back to 12 if it's closer to 12

That way whenever I rotate the wheel it always pops to one of those numbers (12, 3, 6, 9) after I let go, depending on which number the point on the wheel (the point the finger is touching) is closest to
Title: Re: Rotating a wheel with touch
Post by: jeanfabre on February 06, 2014, 02:52:36 AM
Hi,

 This is a duplicate of http://hutonggames.com/playmakerforum/index.php?topic=6275.msg30413;topicseen#new

bye,

 Jean