A Gravity Simulation This repository contains a simulation of our solar system, designed to model the motion of celestial bodies using Newtonian Gravity. Made in Unity but did not use any of Unity's physics engine.
Solar_System_2.-.SolarSystemScene1.-.Windows.Mac.Linux.-.Unity.2022.3.40f1._DX11_.2025-03-27.22-18-22.mp4
Clone git repo.
git clone https://github.com/ASR-CuriousOne/SolarSystemSim.git
Open UnityHub and add project by opening the SolarSystem 2 Folder
Open the SolarSystem2 folder.
Click on Add Project.
Press play to start the sim.
Below are the controls. Idealy use a mouse for best experience.
- Space : Pause/Play sim.
- Holding Right Click
- Moving Mouse : To orbit around selected planet.
- Scroll Wheel : Move Closer and Farther from planet.
- Left Click : To change focus from one planet to another.
Can also click on arrow to get the side menu for some additional settings.



