hi i have to rotate a Texture2D, but i dont know why.
its like a have a picture and i need to rotate it 180° because it’s on the head and should be right.
the problem is, i need to do it before i use spriteBatch.Draw, is this possible?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The texture will be rotated by 180 degree.
As also you can flip texture vertically using SpriteEffects: