Rotate Image Clockwise using LibGDX
How can we rotate a Image Clockwise using LibGDX? what i am looking is when a image is loaded,suppose a star, i need to rotate it from beginning of screen to end of the screen horizontally, with star rotating,how can i do that in libgdx? Rahat Ahmed When you draw the Texture with your SpriteBatch, you can use one of the draw functions that includes rotation. This javadoc has all the draw functions: SpriteBatch You can keep a variable for position and rotation, and increase the rotation and x component of the position each time you render to make it rotate while moving horizontally. Libgdx