Hello,
Would it be possible to get a bool field in the ISceneNode class so that it will go through the whole animate sequence without rendering? That way we could manually render a complex tree of nodes without the mess of setvisible?
Thanks.
Scene node rendering options
Re: Scene node rendering options
I think you can do that by calling OnAnimate for the node.
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
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: Scene node rendering options
I wasn't clear. I'm looking for a field that during ->drawall calls OnAnimate but NOT render. This way collision detection and other engine related processes work since the node is technically "visible" but doesn't actually display on screen.
Re: Scene node rendering options
Yeah, I guess we don't have that - although you might render using a NullDevice to have that effect in case you can do that in your situation.
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
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm