How do I set the initial rotation Angle when I use OrbitControls?

How do I set the initial rotation Angle when I use OrbitControls ?


        orbitContr.object.rotation.copy(new THREE.Euler(1.137552873254083, -0.1797579063185274, 0.36884243755536256))
        defaultCamera.rotation.set(1.5707956567011139, -7.42276446308378e-7, 0.8364612018843396)
        defaultCamera.updateProjectionMatrix();

        orbitContr.saveState();

If I write it this way, it doesn’t work.
The initial rotation Angle is still the default of 0, 0, 0 .

1 Like

Camera.rotation doesnot work with orbitControl, cuz the orbit control override the camera rotation , try to work with target