Rotating a Custom Scene Node Around Itself
Posted: Fri Nov 07, 2008 12:35 am
Hi,
I've been trying to understand how rotations work. I've found many examples on the forums and tutorials regarding rotations, yet they always seem to cause a given node to rotate around something else.
My goal is to understand how to keep a node's center in one location and rotate around it. This way, I will learn how to manipulate however I want - with or without movement around another point.
For example, like this... picture the images below keeping the center at (50,50,50) the entire time....
Any help with this is greatly appreciated.
Thank you.
I've been trying to understand how rotations work. I've found many examples on the forums and tutorials regarding rotations, yet they always seem to cause a given node to rotate around something else.
My goal is to understand how to keep a node's center in one location and rotate around it. This way, I will learn how to manipulate however I want - with or without movement around another point.
For example, like this... picture the images below keeping the center at (50,50,50) the entire time...
Code: Select all
____
| |
| |
|___|
/|
| |
\|
Any help with this is greatly appreciated.
Thank you.