Skip to content

Latest commit

 

History

History
59 lines (38 loc) · 1.22 KB

README.md

File metadata and controls

59 lines (38 loc) · 1.22 KB

Soft Bodies

🏀 Real-time soft body simulation sandbox.

Features

  • Basic joint and spring physics integration.
  • Rectangle-joint collisions.
  • Basic OpenGL 3.3 renderer.
  • Dear ImGui integration.

Gallery

soft-body.mp4

Getting Started

Prerequisites

Build Instructions

cmake -B ./build -S . -DCMAKE_BUILD_TYPE=Release
cmake --build ./build --config Release

The desired binary will be generated in ./build/bin directory.

Controls

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

About

Authors

License

This project is licensed under the MIT License. See the LICENSE file for details.