problem updating boundingbox

ghiboz

03-01-2013 10:31:46

hi all!
I have this problem:
my SceneNode pNode have the correct bounding box, after calling
pNode._updateBounds();
and after, using
pNode._getWorldAABB()
I have the correct AABB..
but after, if I do this:
mAttachNode.AddChild(pNode);
doing this:
mAttachNode._getWorldAABB()
return null.., also after
mAttachNode._updateBounds();
any suggestion?
thanks