Hello guys, I recently observed a very weird behavior which kept messing with my y auto booster, today I discovered where the problem was. I narrowed the problem down to PointerLockControls itself. It looks like once you press any movement key and never once again, the velocity will never reach 0 even if you would leave it running overnight (Dont take me for the word its just a metaphor). I believe this is caused by the precision performance.now(), however I am really not sure. Anyhow, I was wondering if this is a known issue and if so, what are the work arounds, as it seems to be causing even another of my bugs - when leaving the tab inactive for a while and returning, I will find myself somewhere outside the map, in the oblivion.
EDIT: The same trend also occurs with Date.now()