Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - birdkingz

Pages: [1]
1
DOTween & DOTween Pro / Re: Rotate infinitely
« on: December 08, 2015, 03:36:36 AM »
Thanks!

2
DOTween & DOTween Pro / Rotate infinitely
« on: December 07, 2015, 05:14:24 AM »
I'm trying to find a way to rotate Sprite infinitely.

One of the ways that I found is:
sprite.transform.DOLocalRotate(new Vector3(0.0f, 0.0f, deg), 1.0f).SetLoops(-1, LoopType.Incremental).SetEase(Ease.Linear);

But the above problem is it doesn't work if my object has been rotated before tweening it.
For example, the sprite might be starting at Rotation-Z=90 degree

So I wanna ask how can I do it in a relative way?
For example
I just need to specify for every N seconds it will rotate X degree.

Pages: [1]