How do I fix this problem?

I am making an first person shooter game, but I am having some trouble with the camera. Here is the problem: When you push the w key and move your mouse up, if you wait a few seconds. the camera will start to go fly upwards! :confused: How do I fix this? Repro: https://playground.babylonjs.com/#MRH1GU#72

Try setting the gravity to something higher, like -2.9. Would that suffice?

1 Like

It works! Thanks!