How to give dynamic position to camera [solved]

camera-controls
orbit-controls
tweening

#1

Hello Members, I created one torus, on Zoom-in Zoom-out, rotation and after click on Move Camera camera position going to center of the torus, Its fine worked on above operation, but if I Pan screen and click on Move Camera it is not going to center of torus. Video and jsfiddle.

Thank You…


#2

.onComplete() should look like this:

.onComplete(function() {
    controls.target.copy(scene.position);
})

#3

@prisoner849 Sir, Thank you… its working