๐ Real-time soft body simulation sandbox.
- Basic joint and spring physics integration.
- Rectangle-joint collisions.
- Basic OpenGL 3.3 renderer.
- Dear ImGui integration.
soft-body.mp4
cmake -B ./build -S . -DCMAKE_BUILD_TYPE=Release
cmake --build ./build --config Release
The desired binary will be generated in ./build/bin
directory.
LMB over air: spawn joint
LMB over joint: spawn spring
LMB while spawning spring: attach spring or abort
RMB over air: spawn rectangle
RMB while spawning rectangle: apply size or angle
RMB over joint: delete joint
RMB over rectangle: delete rectangle
- Ray Ferric (rayferric)
This project is licensed under the MIT License. See the LICENSE file for details.