I’m trying to create a 2D top down game where players can launch balls and it will zoom around the map and be influenced by different planets when it enters their respective field of gravity. I’m just thinking ahead here but I believe occasionally I will enter a scenario where the ball is going to be stuck in the planets field of gravity obviously bringing the game to a halt. Is there any sort of ways I could avoid that?
My idea is maybe decreasing the strength of gravity the longer the ball spends time in the field of gravity