i created a MeshSceneNode from another, to verify working, i just tried to render the boundingBox
in ctr i have
Code: Select all
BBox = other->getMesh()->getBoundingBox();
Code: Select all
for (u32 i=0; i<other->getMesh()->getMeshBufferCount(); i++)
{
if (i==0)
BBox.reset( other->getMesh()->getMeshBuffer(i)->getBoundingBox());
else
BBox.addInternalBox( other->getMesh()->getMeshBuffer(i)->getBoundingBox());
}
so my guess is, that giving a Mesh to IMeshSceneNode does not calculate the Mesh's BBox from its MeshBuffer children.
Question: is this a bug or wished behaviour?
thx for answering