Understanding the Autorotation Behaviour of the ArcRotate Camera

Hello, I created a basic scene with an ArcRotate Camera and activated its autorotation behaviour with

camera.useAutoRotationBehavior = true

When I try to change the speed
camera.autoRotationBehavior.idleRotationSpeed = 2
nothing changed. Same for the settings like idle time and speedup time.

In some examples I found that it was applied directly to the camera object, like
camera.idleRotationSpeed = 2 which also did not work.

What is the right way to set these parameters?
Many thanks i advance.

Hi cheister,

For me it works in the playground:

https://playground.babylonjs.com/#Z61X0U

Many thanks. Thanks to your example I noticed, that I repeated the same typo three times… :exploding_head:

1 Like