I observe very strange behavior when changing angularSpeed between 0.001111 and 0.001112 values.
When I set the value to 0.001112, the camera doesn’t rotate smoothly enough as I want: camera.inputs.attached.keyboard.angularSpeed = 0.001112;
When I set the value to 0.001111, the camera rotate too slow: camera.inputs.attached.keyboard.angularSpeed = 0.001111;
Therefore, I cannot set the sensitivity I need
Help me please
Moreover, when angularSpeed less than 0.001112 and you give initial rotation speed with the mouse, and continue to rotate with the arrows, then the speed seems to become normal.
Sorry, I missed the part where you said one must use the keyboard!
So, I reproduced the problem and it comes from some epsilon used in the code.
More precisely, if camera.inertia * camera.inertialAlphaOffset < epsilon, inertialAlphaOffset is set to 0.
In your sample, inertialAlphaOffset = angularSpeed = 0.001111 at start. camera.inertia = 0.9, so inertialAlphaOffset * inertia = 0.0009999. As epsilon = 0.001, inertialAlphaOffset is reset to 0…
So, you can fix your problem by raising a little inertia when using angularSpeed = 0.001111:
It was cool to be able to access epsilon because I actually need a value around angularSpeed = 0.0007, then camera.inertia must be at least 1.43 which is a bad value.
The Epsilon value should be configurable. It is not defined as const, so technically changing the imported value. Does it work when changing the value directly?