if (user.brain == NULL)
Member
I am making a solar system simulation where the planets will orbit a star. I am going to simulate gravity using Newton's equations. The only problem is that I don't know how to find the gravitational force for all objects in a room. For example, I can make 2 different objects gravitate towards each other but I want to have just one object that I can place multiple times in a room and have it them all interact.