How to make the camera rotate on its own axis?
In the first image is shown is the initial state of a camera, and in the second as I want it to rotate.
This camera represents the camera in three.js
Hello Diego,
I am a little bit confused. Isn’t-it the default behaviour ? What happens when you write camera.rotation.z = Math.PI; ?
Hello, thanks for replying, but I have already solved my problem, by rotating the camera with camera.rotation.z and then using lookAt this will not rotate, I have removed lookat and it has worked