public override int GetNumberOfCompoundChildren(BulletShape pCompoundShape) { CompoundShape compoundshape = (pCompoundShape as BulletShapeXNA).shape as CompoundShape; return compoundshape.GetNumChildShapes(); }