I was attempting to use the radial force component to draw the player in towards a planet if they get too close. I got this functioning, however if the player escapes the gravity field, they can no longer sit still. They’ll continually drift when they stop, even when out of the component’s range. The game is top down, and for example, if it pulls the player in from the top right side of the planet, their ship will continually drift down and to the left.
I am assuming it’s a conflict because the radial force uses a physics based pull while the player’s movement doesn’t use physics forces. Is there a way to fix this? Either kill the drift or pull the player towards the planet without using the radial force component?
Any help is definitely appreciated.