Help with rigidbody2D

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

Hello, I have a problem with the rigidbody2D(missile) and that is I can not make it move correctly, more precisely when I instantiate it goes on its own in another direction and not in the direction where the object is located that would be the spacecraft. I’ve read all the documentation about rigid bodies but it doesn’t say much about how to use them, I only know that I don’t have to set directly the properties such as the position to build the movement and then I don’t have to use physics_process() but _integrated_forces(). Can anyone help me with this?