Flipped image doesn't rotate

Hello and today my question is why if I flip an image, this doesn’t rotate? How can I rotate a flipped image?

Flipped image, it doesnt’ rotate.


image.setRotation((float)angle);
flipped = flip;
//image.getFlippedCopy(flip, false).draw(position.getX() - camera.getX(), position.getY() - camera.getY(), scale);

Not flipped image, it rotates perfectly


image.setRotation((float)angle);
flipped = flip;
image.draw(position.getX() - camera.getX(), position.getY() - camera.getY(), scale);

You are not rendering the image you flipped. You are rendering flip. Render image, and see what happens. Plus, why did you comment out the render code?

I’ve commented the flipped image because it didn’t work. :wink: But I’ve tested it without comment and it doesn’t work. It renders but with no rotation.