Files
EVEngine/examples/softbody
西风逍遥游andCursor Agent cbb6f14ac4 feat(physics): interactive cloth and 2D fluid (#25)
* feat(physics): add interactive cloth and 2D fluid solvers

Extend the Physics module with Verlet cloth (pin/grab) and
double-density-relaxation fluid (emit/interact), plus Squirrel
bindings, tests, docs, and an examples/softbody demo.

Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com>

* fix(physics): improve cloth constraint solve and softbody tests

Apply full distance correction when one cloth particle is pinned, and
tighten unit tests around pin hold, free-fall, grab, and fluid behavior.

Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-08-11 14:49:17 +08:00
..

Softbody — Cloth & Fluid

Interactive demo for the Physics module's cloth and 2D fluid solvers.

Run

make run/linux-debug GAME=examples/softbody

Controls

Input Action
Left drag (left panel) Grab / drag cloth
Left drag (tank) Repel fluid
Right drag (tank) Attract fluid
Space Emit fluid at cursor
R Reset scene