I'm trying to get Orbit Controls to work when I set the camera to :
camera.up.set(0,0,1)
This ends up not orbiting properly, and some unanswered questions out there call out the issue: Three.js: way to change the up axis?
Can anyone provide information for how to change the rotation axis of the orbit?
This was recently fixed . If you get the latest three.js dev version from https://github.com/mrdoob/three.js/tree/dev , you can just set camera.up
and OrbitControls will behave accordingly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With