OrbitControl rotate itself even pan (drag) to everywhere

The problem is that no control class of three.js can do what you are looking for. Besides, OrbitControl would be a bad starting point since the control mechanism of the Autodesk viewer is more similar to TrackballControls. You can easily see that since it’s possible to move the camera over the poles (in some sense the camera gets flipped upside down). This is not possible with OrbitControl since it retains the original up vector of the camera.

Maybe you can achieve a similar effect by combining TrackballControls with DragControls like in this example. In any event, you definitely need some enhancements if you want an exact replication of the Autodesk viewer control.

2 Likes