Remove smooth movement in Universal Camera

Hi,
I’d like to have a FPS Camera in my scene just like the Universal Camera already provides. The problem is when moving the mouse/keyboard the camera tries to smooth out the motion. Is it possible to disable this smoothing?

Here is an example with the camera
https://www.babylonjs-playground.com/#SRZRWV

Just set camera.inertia = 0:

https://www.babylonjs-playground.com/#SRZRWV#270

3 Likes

That was fast thanks. Is this documented somewhere? I couldn’t find it here UniversalCamera - Babylon.js Documentation

The rotation is now quite slow. How can I increase the rotation speed?

It is documented on TargetCamera, not sure why the property is not in the UniversalCamera doc…

Look for angularSensibility regarding the rotation speed.

1 Like

Thanks that worked