Camera rotation speed

Hey

I guess this is a very basic question. I am trying to control the speed of ArcRotateCamera and from my google searches, a forum showed that camera.speed is what I have to access. But it does not make any difference. Controlling the rotation speed with mouse click and drag. Can someone help?

camera = new BABYLON.ArcRotateCamera("Camera", Math.PI / 2, Math.PI / 2, 100, BABYLON.Vector3.Zero(), scene);
console.log("camera speed "+camera.speed); //shows speed as 2
camera.speed  = 0.5; //Changing it to 0.5
1 Like

Got the answer. It is:

    camera.angularSensibilityX = 2000;
    camera.angularSensibilityY = 2000;
6 Likes

Would you happen to know how to make it stop right away? If you move it hard enough the momentum carries it away.

There should be a inertia parameter for it that you could set to 0

1 Like