I'd like to rotate a Transform by 360 degrees using DOTween to make it spin, but I can't figure out the proper way to do this according to the documentation. What would be the best way to do this? Thanks!
Ahoy!
You would need to set RotateMode.FastBeyond360 as DORotate parameter (so the tween doesn't use the shortest route) and then chain a SetRelative() to tell it to rotate "by" instead of "to" :)
how to make it uniform rotation?
i meant the speed
If you want a uniform speed you should set a Linear ease via:
myTween.SetEase(Ease.Linear);
Most helpful comment
Ahoy!
You would need to set RotateMode.FastBeyond360 as DORotate parameter (so the tween doesn't use the shortest route) and then chain a SetRelative() to tell it to rotate "by" instead of "to" :)