I need to use OrbitControls to rotate my drawing on Z-axis. From most of the articles that I have read on this forum and on google, it seemed like the only way to do this is to change the camera up vector to (0,0,1).
I have accordingly done this change but it seems like the OrbitControl changes the Orthographic camera’s default position during its first update.
Please check the jsfiddle:
Current Behaviour: (camera up is (0,0,1))
Expected Result: (camera up is (0,1,0))
Why changing the camera’s up vector cause Orbitcontrols to update the camera’s initial position here? I expect the camera to be positioned exactly in the place where it was set at startup.
Any help regarding this would be invaluable.