I am working on a platformer game, and I have a RigidBody node in my enemy scene, that I want it to move continuesly in the negative x axis. I have just restarted programming in godot after a while and my memories are quite foggy.
Here is what I mean by that:
I want to achive this in a script
Sorry if this topic is litteraly begginer level 
Hi,
There are two great demos for RigidBodies. Might be worth revisiting them just as a reminder for you.
They are listed at the top of the docs page:
Hope that will help you achieve what you wanted. Sorry if you were just hoping for some quick code. In your situation I strongly advise running through a demo or two first.
Best wishes and welcome back to Godot.
1 Like
I did visit both of them, but the one didn’t have any scripts at all, and the other one was filled with code, that made it too difficult to find key points for my issue
I just want a few functions here and there that will help me with my issue. At best, a small template that will show me how I should structure my code.