Quark Physics
2D Rigid and Soft Body Physics Engine
API Documentation

QuarkPhysics is a 2D physics engine designed for games. Its goal is to provide a reasonable approach to simulate rigid bodies, soft bodies, and different physics models together.

Project Github Page

Building Examples

You need to install SFML and CMake on your system before.

Download project, enter the main folder and call this;

    ./build.sh -r

Another way is that compiling the project directly via gcc if you're on linux call;

    ./run_linux_fast.sh -r

Using

Copy the "QuarkPhysics" named subfolder in the main folder to your project and use it.

Third Party

  • nlohmann's json for the json parsing. (Importing meshes via *.qmesh files)
  • SFML library for window,input,opengl.

License

Licensed under the MIT license.