为什么一触摸,物体就跑了,不是点击屏幕的地方。

start () {

    let self=this;

    this.node.on(cc.Node.EventType.TOUCH_MOVE,function(event){

         self.node.setPosition(event.getLocation());



    });

}

触摸跟随 为什么点击后发生位置偏移

getLocation是世界坐标
你要转成本地坐标

确实是坐标系的问题