Rotate a dial and stay at end-position
I'm trying to rotate a 2D circle with circular swipes/mouse drags so that the mouse drag will change its rotation relatively to its original rotation (rather than snap into the mouse position), and also it will stay at its new final rotation once the mouse click is lifted up.
After lots of searches and attempts this is the closest solution I've come across: http://answers.unity3d.com/questions/524687/rotate-a-dial-with-circular-motions.html
However, in this solution, the dial/circle snaps back into its original rotation when the click is lifted up. I'd like it to stay there and continue from that new rotation the next time I drag it around. I tried to save the rotation given by InputIsHeld() and apply it whenever the GetKey.Input(KeyCode.Mouse0) is false, but for some reason it still snaps back.
Thanks for your help and guidance!
Your answer
Follow this Question
Related Questions
Touch to move and drag to rotate object 2 Answers
Rotation in wrong direction 0 Answers
Having two objects Y axis parallel rotating around local Z axis. 0 Answers
Move ball player relative to camera rotation 1 Answer
OnAnimatorIK gimbal lock 0 Answers