hello forum
i’m trying to make a replica of our solar system, but instead of just placing a bunch of spheres in the project i want them to use gravity so i can simulate what would happen if f.x earth was any closer to the sun, if it would be drawn to the sun. I found this video on YouTube that is pretty much what i need, but he doesn’t share the full script
all i need is to make a script that uses the sphere’s mass and drags other spheres or it can be drawn to other spheres.
Should get you started…
This may be the best one:
how do i get the last one to orbit in 3d not 2d?
Most things orbit on a 2d plane do they not?