I want to put the target of my camera at the center of the total models which include many many scene nodes.
Should I scanning each scene node and its child node by myself? Or, Irrlicht has provided a function like this?
getRootSceneNode()->getTotalBoundingBox()
Thank you for your comments.
How can I get the size of all scene nodes?
Re: How can I get the size of all scene nodes?
I guess you'll have to...mybiandou wrote:Should I scanning each scene node and its child node by myself?
there is no function like getTotalBoundingBox()...
one solution would be to create a single mesh out of all the single meshes, for example with bitplane's CBatchingMesh !!!
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:

http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java