Is there a way to restrict the horizontal rotation on OrbitControls?
In reviewing the code, I noticed that vertical limitation is achievable with minPolarAngle
and maxPolarAngle
. However, I have not been able to locate a method for setting horizontal limits.
--
Edit: I understand that OrbitControls rotate the camera, not the mesh. My goal is to find a solution for imposing horizontal constraints on the camera.