Before using it, I used camera.lookAt() to set direction in which camera looks.
Reading on OrbitControls, I learnt that camera.lookAt() should be replaced by controls.target.
I want to know what’s difference between these two.
I am also facing an issue with OrbitControls.
If I don’t make use of controls.target, then it becomes very difficult to zoom in to my target object.
And when I use it, zooming issue is solved but panning becomes an issue as target object doesn’t pan with rest of the scene and it is static while panning.
@Mugen87 how would you adjust the center of rotation after a pan? I have tried using controls.target.set() , but the center of rotation for the object remains unchanged.