> just an idea but maybe on planet creation you could pick all others instances and check if distance is odd or not ?
>
> If it's not odd, move the planet 1 pixel away or sthing like this ?
> this wont be very elegant but maybe could work ?
>
> this should avoid the player to be in equal distance from both
ArmonPlan You still have the possibility of the players position being halfway between because the position is stored as a decimal.
BaconSwagg If you add a condition like Pick Top or something to force just a single instance of the planet, you won't have 2 planets gravity grab the object. The weird thing happening when the character changes gravity is caused by the residual momentum from the original jump. If you sent the VectorY to 0, it should take care of it. I modified your project: This may give you what you need.
https://drive.google.com/file/d/1sEG5lyml57XqE-BMxLYOElvJ29L3d_UY/view?usp=sharing
yeah sorry, i did tried and realized that in the pick nearest action, the distance is not rounded ^^
by my side, i tried to add a global var to it's project to store the last landed planet and add some filtering when jumping and searching the target with pick nearest x)
hope it's not too ugly xD