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:

  1. Create Bodies- Choose a body type from the GUI panel and click in the world to place it.
  2. Add Springs- Right click two bodies to connect them with a spring. Use the GUI to adjust stiffness, damping, and rest length.
  3. Add Effectors- Place effectors to apply directional forces to nearby bodies.
  4. Move the Camera- Scroll to zoom. Middle‑mouse drag to pan.
  5. 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
StatusReleased
CategoryOther
PlatformsWindows
AuthorAl_peep22
GenreEducational, Simulation
Tagsc, Experimental, Physics, raylib, Sandbox
ContentNo generative AI was used

Download

Download
EngineBuildFiles.zip 339 MB

Install instructions

This download contains the build files of the C++ Physics Simulator. 

  1. To run:
  2. Extract the ZIP file.
  3. Launch the executable inside the folder.

Leave a comment

Log in with itch.io to leave a comment.