Skip to main content

DoTween Continuously rotate an object works in Unity but in Luna only does a single rotation and then stops

This is likely happening due to in Luna an object’s rotation is stays at 360 instead of resetting to 0 like in Unity, thus when an object is called to rotate to 360 degrees it stays the same, as it’s already the desired value.

Expected behaviour from the Luna engine is that the rotation would only go up to 360 and then start counting from 0.

Possible solution:

  • Manually set the rotation to the starting value (e.g. 0) between loops.