关于同时碰撞的问题,检测不出来

我遇到的问题是这样的,光有这一句:other.node.group == 'player’或(other.node.group == ‘wooli’),可以执行,但是2个放在一起加上了&&就没有反应了,求大神解答一下、、、谢谢了
onCollisionEnter: function (other, self) {
if ((other.node.group == ‘player’)&& (other.node.group == ‘wooli’)) {

        cc.log("test-collision"); 
            return;
    }

汪!用狗脑袋好好想想,既然是一个分组不可能同时又属于player又属于wooli的吧~
所以你的&&应该是||吧~