How rotate a scenenode about a other point?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Carama
Posts: 10
Joined: Sun Dec 14, 2008 12:44 pm

How rotate a scenenode about a other point?

Post by Carama »

Hey,

How can i rotate a scenenode about an other point?

If i use x.setRotation(...) the object rotate around M.
But I want rotate the object around Q.

Image

Any ideas?
dlangdev
Posts: 1324
Joined: Tue Aug 07, 2007 7:28 pm
Location: Beaverton OR
Contact:

Post by dlangdev »

Switch to model space and translate to Q. Should be easy, right?

What? where's the code? Hmmm....guess there's no fish.
Image
Post Reply