Multiple Planets with their own gravitational pull

I am sick of my post getting ignored, and my brain hurts from how much ive been trying to do this.
Can someone please help me make multiple planets have their own local gravitational pull that makes all rigid bodys get attracted to that planet.
Thank you…

Well you can use this link to get what you want.

hope this helps :)