How to make a body move continuously ?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Siddharth Pushkar

I want to make my Kinematic body move forward continuously when the scene loads just like in Geometry Dash.
can anyone tell me how to do it?
I am making a game fairly similar to geometry dash.

:bust_in_silhouette: Reply From: exuin

If you’ve already got code for movement in your _physics_process, you can just add a constant SPEED or something to your velocity each frame.