Question by
mrosenschein · May 12, 2017 at 09:34 PM ·
rotationspriterigidbody2d
Spin a 2d Sprite with touch or mouse
Hi, I'm new to Unity and this seems like an extremely simple problem but I've become frustrated trying to find a solution.
All I want to do is rotate a sprite around it's center as it is dragged with the mouse or a finger.
I found this solution for 3D but couldn't figure out how to make it work for a 2D object: http://answers.unity3d.com/questions/34317/rotate-object-with-mouse-cursor-that-slows-down-on.html#answer-34318
Any help would be great. Thanks!
Comment