I am utilizing THREE.OrbitalControl.js
Control = new THREE.OrbitControls(Camera, Renderer.domElement);
As I rotate and move the mesh to locate the camera position, I print out the values of Camera.position
and Camera.rotation
in the animate function. However, when attempting to set the camera's position based on these values, I do not achieve the same position.
function animate() {
requestAnimationFrame(animate);
Renderer.render(Scene, Camera);
THREEx.WindowResize(Renderer, Camera);
console.log("position");
console.log(Camera.position);
console.log("rotation");
console.log(Camera.rotation);
}