An accurate 3D gravitational physics engine in C.
- 3D Gravitational simulation
- Custom solar systems (WIP)
- Interactive universe
- Cross platform
- O - Free Camera Mode (WASD to move, mouse to look around)
- C - Orbit Camera Mode (LEFT/RIGHT arrows to orbit)
- V - Toggle Grid Visibility
- W/A/S/D - Move camera (Free Camera Mode)
- Mouse - Look around (Free Camera Mode)
- ESC - Exit control mode
- Left Click - Select planet
- Install the required system dependencies (GLFW, OpenGL drivers).
- Download the latest release from the Releases page.
- Run the
SpaceSimPlusPlusbinary.
- Clone the repository
git clone https://github.com/Damako4/SpaceSimPlusPlus.git
cd SpaceSimPlusPlus- Install CMake
Install the latest version of CMake here if it's not already installed.
- Install Dependencies
You will need to install the following dependencies and CMake will need to be able to locate them (ie. they need to be listed on your PATH):
GLFW3 | SOIL2 | GLM | OpenGL
- Configure and Build with CMake
In the project root directory run:
mkdir build
cd build
cmake ..
cmake --build .
- Run
From the build directory:
./SpaceSimPlusPlus