I'm new to unity and I'm trying to create a 2D game where there planets that can pull the player in when it moves into their orbit as if they have gravity, but when it´s outside it can move freely. I tried using a point effector for the planets but it doesn't seem to be affecting the player, I want it to be a top-down view so the player can´t keep falling due to gravity but I want it to be pulled in by the pointEffector, is there any way I can do this?



I tried:
- Freezing the player Y position
- Taking out the gravity of the player
- Taking out the sprite renderer from the planet object