It's all relative...

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
goaty
Posts: 46
Joined: Wed Oct 25, 2006 3:06 pm

It's all relative...

Post by goaty »

There exists a function call 'getAbsolutePosition' that retrieves the ACTUAL 3d vector of a scene node if it is connected to a parent node. As in 'getPosition' would only get the 3d vector position offset from the parent. Well, how does one retrive the absolute rotation?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

getAbsoluteTransformation().getRotationDegrees()
goaty
Posts: 46
Joined: Wed Oct 25, 2006 3:06 pm

Post by goaty »

Blimey! Thanks! :D
Post Reply