How do I rotate a shape around its center by a specific angle?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi there guys,
First of all, please note that all the details in the question is extremely important. I need to rotate a shape AROUND ITS CENTER, by a SPECIFIC angle.
Now, let me write about what I need to do, exactly.
I have a rectangular body, more specifically a box, and I need to take several pictures of this box in different angles. I need to rotate the box around its X axis 10 degrees, and then take a picture, then rotate more 10 degrees, then take another picture, more 10 degrees, another picture, 10 degrees, another picture... And so on... 36 times, since 360 = 10 * 36.
I can easily do this in 45 to 45 degrees, by changing the angle of the screen. But I have not found ANYTHING about changing the angle of the screen in any angle different than 45 degrees. If you have a solution for this, it also solves my problem.
So... That's it. I need to rotate either the object in 10 to 10 degrees, exactly, around its X axis, or rotate the camera 10 to 10 degrees.
Any idea?
Thanks!