I am experiencing issues with trackballControls in three.js. My goal is to manually rotate and position the camera. Below is a function I created for testing purposes:
function rotateTest(){
console.log(camera.rotation) // THREE.Euler {_x: 0, _y: 0.7853981462831776, _z: 0, _order: "XYZ", onChangeCallback: function…}
camera.rotateZ(1);
console.log(camera.rotation) // THREE.Euler {_x: 7.850462316470535e-17, _y: 0.7853981462831774, _z: 1, _order: "XYZ", onChangeCallback: function…}
}
Although the rotation of the object seems to be changing, there is no visible difference. I would appreciate any assistance with this issue.
Thank you,