My sprite geometry is reversed using matrix so that it is in the XZ plane. This results in the image used for the sprite to also be reversed, which I don’t want:
(source : http://www.badlogicgames.com/wordpress/?p=2032 )
The image is then upside-down (note the 2 and 4):
Would you know how to switch the UVs, or apply a matrix on the image only?
Here is my code to draw the new image (the broken one):
curPix.drawPixmap(modelPix, newX, newY, modelX, modelY, tileResolution, tileResolution);
This is how the plane is modified in “render:”
batch.setProjectionMatrix(cam.combined); batch.setTransformMatrix(matrix); batch.begin(); getMap(0).draw(batch); batch.end();