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?

http://www.visualdiagnostics.ca/eyemap3djs/magnify.html

i've found roundabout way of making movement seem slower increasing size of scene. more ground cover takes longer. seems hack , not real solution.

http://www.visualdiagnostics.ca/eyemap3djs/magnifybig.html


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -