实际上2d游戏使用getUIPosition即可,无需屏幕转游戏坐标

let node: Node = event.target
let { x, y } = event.getLocation()
let re = this.camera.screenToWorld(new Vec3(x, y, 0), node.getWorldPosition())
this.body.setWorldPosition(re)