babylonjs - How do I slow down the camera's speed moving through a scene in Babylon js? -
i have added freecamera babylon.2.4.js scene , controlling movement code:
this.angularsensibility = 5000; camera = new babylon.freecamera("freecamera", new babylon.vector3(-0.6, -5, -20), scene); camera.keysup = [84]; // t camera.keysdown = [66]; // b camera.keysleft = [70]; // f camera.keysright = [72]; // h camera.angularsensibility = this.angularsensibility; camera.attachcontrol(canvas, true);
however moves camera through scene. how might set speed less?
i've found roundabout way of making movement seem slower increasing size of scene. more ground cover takes longer. seems hack , not real solution.
Comments
Post a Comment