@preview will take the latest preview which is usually good but if you want to target a specific one, please replace preview by the version like
npm install @babylonjs/loaders@4.2.0-beta.17
@preview will take the latest preview which is usually good but if you want to target a specific one, please replace preview by the version like
npm install @babylonjs/loaders@4.2.0-beta.17
Ok off the topic, but somehow suddenly when I am calling
scene.debugLayer.show();
only explorer is visible without the inspector window, it was working fine before. is there some change in the new API?
const onSceneMount = (event) => {
const { canvas, scene } = event;
scene.debugLayer.show();
var camera = new ArcRotateCamera("Camera", 0, 1.05, 6, Vector3.Zero(), scene);
camera.attachControl(canvas);
camera.setPosition(new Vector3(0, 2, 3));
camera.wheelDeltaPercentage = 0.01;
new HemisphericLight("light", Vector3.Up(), scene);
scene.getEngine().runRenderLoop(() => {
if (scene) {
scene.render();
}
});
};
I haven’t seen that before. Assuming you have inspector set as same versions as everything else. Have a look at the config you can pass:
I would inspect the scene using browser dev tools. I would suspect it’s behind your docked den tools.