I need your help fixing some weird framedrops / stutter / jitter I have on my Godot 3.2 project.
https://github.com/Skipperro/trainz/tree/testing
It's a simple 3D game I've started to create recently - It's currently just a train running on simple, straight track, through a town and a forest.
The game is so simple it doesn't even use 1% of my CPU (Ryzen 7 3800X) and about 10% of my GPU (Titan Xp). Even though it's nothing that could stress the PC I see weird stuttering or framedrops while the train is in motion. If you look at the environment you will see that the movement is not nice and smooth and sometimes there is a brief freeze, just like few frames would be completely skipped.
Profiler won't help me - it says that frametime is consistent and way below 16 ms. Even if I see framedrops, profiler keeps reporting perfect performance.
If you would have time to help me, please download my project and try it yourself. To move the train you have to slowly rise the throttle by dragging the lever on the right of using arrow keys.