Skip to content Skip to sidebar Skip to footer

Scene Rendering Strangely In Babylonjs

So, I've loaded my scene I made in Blender into Babylonjs, and it's producing some interesting effects. Basically, I am trying to apply gravity and such to the scene, move the play

Solution 1:

Your player camera should be set as the active camera:

var player = new BABYLON.FreeCamera('player', new BABYLON.Vector3(1,1,1), scene);
scene.activeCamera = player;
scene.activeCamera.attachControl(canvas, true);

Post a Comment for "Scene Rendering Strangely In Babylonjs"