Thanks
When should I extend ISceneNode?
When should I extend ISceneNode?
I was wondering, when should I extend ISceneNode (or IAnimatedMeshSceneNode or [...])? Only when I want a special rendering on my object? Or anytime I want a node to hold more information? Should my custom objects be just an object with a pointer to the node, or should they BE the node?
Thanks
Thanks
Re: When should I extend ISceneNode?
Theoretically both are possible. Personally I think it's far nicer to have a custom object with a nodepointer.
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: When should I extend ISceneNode?
I use custom scenenodes a lot, mainly to move definition of some parameters to the editor (physics information...).
