Page 1 of 1

how to get aabbox for a given node?

Posted: Wed Nov 18, 2009 8:28 am
by lab_zj
I have a empty node, and have many animationed mesh nodes include in it, but when I call getBounds(), it always return unit aabbox, not include any child's aabbox.

So, have any functions can get a node's aabbox (include all child's)?

thank you.

Posted: Wed Nov 18, 2009 12:28 pm
by hybrid
an aabox in Irrlicht only contains the node itself, not child nodes. You have to go through the scene graph and create your own containing bbox.