I am working on a 2D game using direct3D. I am using the spriite class to render my objects to screen. I can't figure out how to rotate the Image.
I tried Sprite.transform.RotateZ(angle) , but I saw no difference on the screen. I even tried Device.Transform.RotateZ(angle); , and I couldn't tell that it did anything either.
What am I doing wrong? Any suggestions would be welcome.
I tried Sprite.transform.RotateZ(angle) , but I saw no difference on the screen. I even tried Device.Transform.RotateZ(angle); , and I couldn't tell that it did anything either.
What am I doing wrong? Any suggestions would be welcome.