Answer the question
In order to leave comments, you need to log in
How to rotate a texture?
Here I have a planet, how to make it rotate? (All in 2D)
According to the tutorials, I tried this:
batch.draw(image,rect.x,rect.y,rect.width/2,rect.height/2,rect.width,rect.height,1,1,angle,1, 1, 1, 1, false,false);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question