触摸事件的坐标,与节点实际移动到的坐标为什么不一致

代码是这样的,很简单,就是鼠标点哪里,空节点就移动到哪里
import { _decorator, Component, Node,systemEvent,SystemEvent,EventTouch, Touch,Vec3 } from ‘cc’;

const { ccclass, property } = _decorator;

@ccclass(‘NewComponent’)

export class NewComponent extends Component {

@property v3:Vec3 = new Vec3;

start() {

     systemEvent.on(SystemEvent.EventType.TOUCH_START,this._shiyan,this);

}

_shiyan(touch:Touch,event:EventTouch){

this.node.setPosition(event.getLocationX(),event.getLocationY(),0);

this.node.getPosition(this.v3)

console.log(event.getLocationX(),event.getLocationY(),0);

console.log(this.v3.x,this.v3.y);

}

update(deltaTime: number) {
}

}

然后就这样了

鼠标点击哪里,空节点的位置总与鼠标位置差一定距离,另外,我这个设计分辨率与显示分辨率都是960*640

而且打印坐标时,发现出点坐标与空节点坐标居然是一样的

已经解决了,是坐标系理解错了