我想将我已经放置的对象放在一个新位置,但它从本地位置而不是全局位置移动。
this._scene.updateMatrixWorld();
this._scene.add(mesh);
var v1 = new THREE.Vector3();
v1.setFromMatrixPosition( mesh.matrixWorld );
mesh.position.set(v1.x +2, v1.y + 2, v1.z + 2);
Run Code Online (Sandbox Code Playgroud)