Unexpected camera rotation on LookAt move

Hello,

I am looking to manage camera movements for a project. For this I move both the camera and the lookAt.
Problem : when moving the lookAt my camera rotates unnecessarily.

On the principle of lookAt there should remain an axis of freedom on the rotation in order to orientate the camera correctly is not it?
One free axis of rotation remaining.

Because of the lookAt Constraint I can’t change the rotation of the camera.
Through which properties can I keep a proper rotation ?

Original Post on Discord

by user 224464722878005248

I’m assuming you mean moving the camera with the OrbitControls script?
You dont have to assign a LookAtConstraint and can simply update the look target of the OrbitControls component.