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;
5 Likes