//旋转归零:旋转本地坐标,将世界坐标给父级,本地坐标清零
let h1 = new Vec3(0,0,0)
this.node.worldRotation.getEulerAngles(h1)
this.node.parent.setWorldRotationFromEuler(h1.x,h1.y,h1.z)
this.node.setRotationFromEuler(0,0,0)
//移动归零:移动本地坐标,将世界坐标给父级,本地坐标清零
let b1 = this.node.worldPosition
this.node.parent.setWorldPosition(b1)
this.node.setPosition(0,0,0)