getBoundingBox()做碰撞
Rect rect = Rect(0, 0, _contentSize.width, _contentSize.height);
return RectApplyAffineTransform(rect, getNodeToParentAffineTransform());
转换到世界坐标下
1、得到精灵的rect,不需要转换
auto rect=Rect(bullet->getPositionX(), bullet->getPositionY(), bullet->getContentSize().width, bullet->getContentSize().height);
2、将当前精灵转换到世界坐标系下
auto collisionRect=RectApplyAffineTransform(rect, bullet->getNodeToWorldAffineTransform());