I just have a simple sprite – how can I get it to rotate?
A good answer would show how to rotate both a dynamic sprite and a static_mass sprite
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.
If the sprite is dynamic / non-static, just do like so:
For a static body, you can do something like this:
To Summarize, here is a spinning static sprite, following be spinning dynamic sprite.
Disclaimer: I’m trying to answer my own question, and this answer might be missing important subtleties – it just represents what I know, so far.