rotating gui elements [solved]

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
userdima
Posts: 22
Joined: Wed Jun 04, 2008 8:30 pm

rotating gui elements [solved]

Post by userdima »

Hello everybody!

How can i implement rotation in irrlicht gui? I want something like rotation property in IGUIElement. Do i need to rewrite all gui classes to do it?
Last edited by userdima on Wed Jan 14, 2009 3:39 pm, edited 1 time in total.
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

Unfortunately, yes :(

Currently IGUIElement doesn't have a scale or rotation, the clipping and picking all works using rectangles, and there are no draw2dimage/rectangle calls that have rotation (including fonts)

However, you could render the GUI to a texture and rotate this in 3D
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
Mirror
Posts: 218
Joined: Sat Dec 01, 2007 4:09 pm

Post by Mirror »

bitplane wrote:Unfortunately, yes :(

Currently IGUIElement doesn't have a scale or rotation, the clipping and picking all works using rectangles, and there are no draw2dimage/rectangle calls that have rotation (including fonts)

However, you could render the GUI to a texture and rotate this in 3D
and RGRBRG said : let there be GUI rotation methods. and there were GUI rotation methods.
userdima
Posts: 22
Joined: Wed Jun 04, 2008 8:30 pm

Post by userdima »

Thank you very much, i'l try making somethink like GUI scenenode for such purposes. Write if you would like to see the code.
Post Reply