Hi,
I want to rotate my sprite around its center but I want it to be drawn with its origin as (0, 0). So I have this:
setOrigin(texture.getSize().x / 2, texture.getSize().y / 2);
rotate(-90);
setOrigin(0, 0);
However, it does not seem to be working - the sprite is rotated exactly the same way as if I didn't have that first line. Any idea of what I'm doing wrong? I understand this might not be possible hence I'm posting here in the forums.