Good day! The game has a sprite
private Sprite planet; This sprite must be rotated smoothly around its axis. In the render method, I write
planet.setRotation(90); batch.draw(planet, 0, midPointY + 70, 136 * 1.5f, 137 * 1.5f); those. so it should be rotated 90 degrees, but the rotation does not occur.
First question: why does not turn?
Second: how to make rotation?
Thanks a lot in advance!