Page 1 of 1

Can a scene node have only one mesh attached?

Posted: Thu Aug 12, 2010 6:59 pm
by overburn
Hello,

Can a scene node have only one mesh attached to it , or is it possible to attach more?

Thanks

Posted: Thu Aug 12, 2010 7:42 pm
by greenya
Scene node may have child nodes. And a scene node it self can be a IMeshSceneNode or IAnimatedMeshSceneNode.

Posted: Thu Aug 12, 2010 8:43 pm
by overburn
Oh , so technically a scene node can only have one object attached , or can it have a mesh and a light for example at the same time?

Posted: Thu Aug 12, 2010 8:55 pm
by Lonesome Ducky
An IMeshSceneNode contains a mesh, but it can be affected by a light that is not within that class. You can also attach other meshes to each other, but they will be separate instances of scene nodes.