(godot 4.2.1) how do i make a solar system simulation?

Godot Version

Godot 4.2.1

Question

im planning to remake universe sandbox in godot (in 3d), so, how do i make a solar system simulation?

these are the things i need for the game:

    • the planets must always orbit the sun, and will drift away when the sun is deleted
    • all the celestial bodies (the sun, planets, moons, etc) can be draggable and can be thrown
    • all the celestial bodies can collide with eachother, and when collided, it will launch many other objects
    • you can add more celestial objects with a ui and a “+” button where you can see celestial objects to add and place them in the simulation, and can make the celestial object orbit the sun, and if placed closely to a planet, it can orbit the said planet
1 Like