single axis rotation billboard

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
mtbal
Posts: 9
Joined: Wed Aug 26, 2009 8:41 pm

single axis rotation billboard

Post by mtbal »

How do I tell a billboard scene node to only rotate to face the camera on one axis? Or do I have to write my own rotation calculation code for this?

Thanks,
mtbal
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

I think you can't. But you might try using some emtySceneNode or dummyTransformationSceneNode as parent and rotating that correspondingly.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

We have a patch in the patch tracker for this, but Rogerborg did not yet add it to the library.
Post Reply