I have a 2d sprite and i want to rotate it from 0 to 90 degree angle and once it reaches to 90 degrees, i want to rotate it back to 0 degree.
How can I do this?
↧