C++ Physics Engine
A downloadable project for Windows
Build, experiment, and play with a custom physics engine, right in your browser.
This project is a fully interactive physics sandbox built from scratch in C++, using Raylib and Raymath. It includes body creation, spring systems, effectors, collision handling, camera scaling, and a full GUI for editing physics parameters in real time.
The goal of this simulator is to let you explore how forces, constraints, and collisions behave in a dynamic environment. Create structures, connect them with springs, tweak values, and watch the physics unfold.
Features:
- Create static, kinematic, and dynamic bodies
- Connect bodies with springs (bridges, ropes, rigid shapes, etc.)
- Adjust stiffness, damping, and rest length
- Add effectors to apply directional forces
- Full camera scaling and world‑space interaction
- GUI controls for editing physics parameters
- Start, stop, and reset the simulation
- Drag bodies, inspect values, and experiment freely
How to Use the Simulator:
- Create Bodies- Choose a body type from the GUI panel and click in the world to place it.
- Add Springs- Right click two bodies to connect them with a spring. Use the GUI to adjust stiffness, damping, and rest length.
- Add Effectors- Place effectors to apply directional forces to nearby bodies.
- Move the Camera- Scroll to zoom. Middle‑mouse drag to pan.
- Run the Simulation- Use the top controls to start, pause, or reset the world. Try building a rope, a bridge, or a spring‑rigid shape and see how it behaves.
Controls:
- Left Click — Create body
- Right Click — Create spring
- Middle Mouse Drag — Pan camera
- Scroll Wheel — Zoom
- Space — Start/Stop simulation
- R — Reset
- GUI Panel — Adjust all physics parameters
| Updated | 2 days ago |
| Published | 3 days ago |
| Status | Released |
| Category | Other |
| Platforms | Windows |
| Author | Al_peep22 |
| Genre | Educational, Simulation |
| Tags | c, Experimental, Physics, raylib, Sandbox |
| Content | No generative AI was used |
Download
Download
EngineBuildFiles.zip 339 MB
Install instructions
This download contains the build files of the C++ Physics Simulator.
- To run:
- Extract the ZIP file.
- Launch the executable inside the folder.





Leave a comment
Log in with itch.io to leave a comment.