How to include zero gravity in a rigid body 2D?
In the inspector there's the gravity_scale property which can be set to 0, or are you after a certain behaviour using gravity?
I would like the object, being in zero gravity, to move slightly.
In that case if you've got the movement you're wanting you can set gravity_scale to 0.
If you need help with the movement have a look at these methods - translate, add_force, add_central_force and applied_force in the docs.
#This will constantly accelerate upwards.