scollView里的碰撞

做了一个简单的demo
两个白块可以检测到碰撞,在scollView里的节点与白块检测不到碰撞
onLoad: function () {

    cc.director.getCollisionManager().enabled = true;
},
onCollisionEnter(other,self){
    cc.log("aaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
},

// called every frame, uncomment this function to activate update callback
update: function (dt) {
    this.node.x +=1
},

上传中…