Terminator Posted August 6, 2016 Share Posted August 6, 2016 Hello, I am using this code to add a skybox var skybox = BABYLON.Mesh.CreateBox("skyBox", 1000, scene); var skyboxMaterial = new BABYLON.StandardMaterial("skyBox", scene); skyboxMaterial.backFaceCulling = false; skyboxMaterial.disableLighting = true; skybox.material = skyboxMaterial; skybox.infiniteDistance = true; skyboxMaterial.diffuseColor = new BABYLON.Color3(0, 0, 0); skyboxMaterial.specularColor = new BABYLON.Color3(0, 0, 0); skyboxMaterial.reflectionTexture = new BABYLON.CubeTexture("/images/skyboxes/sky1/skybox", scene); skyboxMaterial.reflectionTexture.coordinatesMode = BABYLON.Texture.SKYBOX_MODE; The skybox is loaded, however I can't move the camera using the arrow keys ! (I am using freeCamera), though I can rotate it using the mouse. any idea how I can solve that? Quote Link to comment Share on other sites More sharing options...
Terminator Posted August 6, 2016 Author Share Posted August 6, 2016 problem solved after adding the models, it seems you can't notice that you are moving when there is no objects GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 8, 2016 Share Posted August 8, 2016 lol Quote Link to comment Share on other sites More sharing options...
webGLmmk Posted August 8, 2016 Share Posted August 8, 2016 On 8/5/2016 at 6:53 PM, Terminator said: problem solved after adding the models, it seems you can't notice that you are moving when there is no objects did the same exact thing. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.