CCArmature::boundingBox with child Armature

CCArmature::boundingBox with child Armature
0.0 0


when there is a child in Armature, I get a wrong boundingBox
see the upload image
I hack the code:
CCARRAY_FOREACH(m_pChildren, object)
if (CCBone *bone = dynamic_cast<CCBone >)
child = bone~~>getChildArmature;
CCRect r;
r = child~~>boundingBox();
r = bone->getDisplayManager()->getBoundingBox();


now the boundingBox is right I thrink。
I’m not sure it’s a bug or not.
any suggest?

I0{`35(XALCTHVBW)GQOWIS.jpg (85.2 KB)

K{P)Q_LH[A]FHK_1_HE5AH1.jpg (87.8 KB)

Armature boundingBox

This method you referenced is ok. Perhaps you can try to use aabb for collision test.