How can I achieve it that the hole takes the hole height of the main plate?
Like in a technical drawing I want to be able to see if the hole takes the whole height or not.
https://www.babylonjs-playground.com/#KUM5WC#24
It was commented out in line 7.
What I would like to see is something like this: the hole should be on the complete height of the plate, since the hole is going through the complete plate
Yup ortho might do if it is what you are looking for. You will need to change:
camera.orthoTop = 2;
camera.orthoBottom = -2;
camera.orthoLeft = -2;
camera.orthoRight = 2;
What I’m looking for is kinda like the camera handling in blender, where you have orthographic side views and a moving perspective camera. https://www.babylonjs-playground.com/#KUM5WC#26
When zooming my models get cut. Is there a way to zoom in in
An orthographic camera does not behave like a perspective one. When you zoom you are not getting the camera closer as the position is defined by the orthoXXX properties
I would recommend to disable the radius control (inherited from the arcrotatedirectly) and instead do your own changes when zooming: camera.inputs.attached.mousewheel.detachControl(canvas)