之前还可以判断出otherCollider.group,不知道为什么突然就显示undefined了。
自己解决了,应该是selfCollider.node.group和otherCollider.node.group