tentone / nunuStudio

Web powered cross-platform 3D, WebXR game engine.
https://nunustudio.org
MIT License
2.13k stars 319 forks source link

Option to Reverse the viewport orbit control to match LightWave, Blender and 3DS Max's. #578

Open BracerJack opened 8 months ago

BracerJack commented 8 months ago

Currently when you click and drag on the viewport, it orbits, but it orbit in a way that is unconventional to Blender, Lightwave and 3DS Max's. Same with when you drag up and down, its orbit is inversed.

Is there an option, a checkbox to reverse it to make it match the major 3D modeling programs? Thanks.

And also, how do you switch camera? camera1 = scene.getObjectByName("camera121"); if (Keyboard.keyPressed(Keyboard.LEFT)) { console.log("Left"); //scene.setCamera(camera1); //scene.changeCamera(camera1); //scene.camera = camera1; ?? }

And also, once you put a Cube Camera on the editor's scene, the editor's orbit control will completely stop working.