Non-rotating ITextSceneNode?

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
Arclamp
Posts: 71
Joined: Thu Oct 10, 2013 7:45 pm

Non-rotating ITextSceneNode?

Post by Arclamp »

I've always used the IBillboardTextSceneNodeup until now, because its informational and I wanted the text always facing the camera, tonight I tried to use ITextSceneNode, assuming it wouldn't rotate like a billboard, but it does...

Is this expected behaviour?

I tried removing animators, but it still rotates, so, best way to stop it rotating (other than setting its rotation in every frame, not that I've tried that).
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Non-rotating ITextSceneNode?

Post by CuteAlien »

BillboardTextSceneNode should work like a billboard. TextSceneNode is rendering 2d text with IGUIFont::draw at the 3d position of the node. Not quite sure what it is you are seeing...
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
Arclamp
Posts: 71
Joined: Thu Oct 10, 2013 7:45 pm

Re: Non-rotating ITextSceneNode?

Post by Arclamp »

Best way to stop it rotating, or alternative static version?
Arclamp
Posts: 71
Joined: Thu Oct 10, 2013 7:45 pm

Re: Non-rotating ITextSceneNode?

Post by Arclamp »

... This is now referring to IBillboardTextSceneNode only, thanks.
Post Reply