When I use the fly camera, there is a momentum that slowly brings the camera to a halt. I want to change it so the camera stops moving instantly when input stops or tune how fast this friction slows it down.
Is there a direct way to change this variable that slows the camera? The closest thing I could find in the API are speed and applyGravity:
https://doc.babylonjs.com/api/classes/babylon.flycamera
Thanks!