glTranslatef(-cem.x, -cem.y, -13.f);
glPushMatrix();
glRotatef(45.f, 0.f, 0.f, 1.f);
rect->Draw();
glPopMatrix();
Now to the problem...As you can see in the picture, I rotated the green player, and the blue and the red I didn't rotate.So, the green player is moving like in the green arrow, but I want he will move like in the red arrow(vertical)...What I mean it convinced the place rotate, I want only the image...Do you know what should I do?Thanks!