Here's how you can preserve momentum or inertia on your Godot Project. Keep in mind that every project have their own way of doing it, but the basic logic is here, so you can improve it and adapt to your own game!
My Twitter: https://twitter.com/lPandoraBox