HI,
How do I rotate a top view orthographic camera 180 degrees?
https://www.babylonjs-playground.com/#SRZRWV#264
eg
var topCamera = new BABYLON.ArcRotateCamera(
“top”,
(0 * Math.PI) / 8,
(0 * Math.PI) / 8,
3,
new BABYLON.Vector3(0, 0, 0),
scene
);
topCamera.upVector = new BABYLON.Vector3(0, 0, 1);
topCamera.upperBetaLimit = 0;
topCamera.lowerAlphaLimit = 0;
topCamera.upperAlphaLimit = 0;
topCamera.mode = BABYLON.Camera.ORTHOGRAPHIC_CAMERA;
camera = topCamera;
// How do I rotate the camera so that the red square is below the blue one
// Does nothing?
// camera.rotation.x = Math.Pi/2;