getWorldInfo()得到的坐标不是想要的
楼主需要的是什么,最好有代码或者详细描述。。。:904:
差不多可以是下面的样子:
CCPoint touchLocation = pTouch->getLocation();
touchLocation = getParent()->convertToNodeSpace(touchLocation);
CCRect bBox = boundingBox();
return bBox.containsPoint(touchLocation);