获取节点世界坐标包围盒
node.getBoundingBoxToWorld()
判断两个节点是否相交
let success = node1.getBoundingBoxToWorld().intersects(node2.getBoundingBoxToWorld())
触摸点是否在节点内
node.getBoundingBoxToWorld().contains(touchPos)
获取节点世界坐标包围盒
node.getBoundingBoxToWorld()
判断两个节点是否相交
let success = node1.getBoundingBoxToWorld().intersects(node2.getBoundingBoxToWorld())
触摸点是否在节点内
node.getBoundingBoxToWorld().contains(touchPos)