โ
๐งต Cloth Simulation
Objective: Interact with realistic cloth physics. Drag, cut, pin, and blow cloth to see how fabric behaves in real time.
Controls:
- Drag mode: click on a cloth node and drag to pull it around
- Cut mode: click on a constraint (line) to cut it, tearing the cloth
- Pin mode: click on a node to toggle it between pinned and free
- Wind mode: toggle wind on/off and adjust strength with slider
- Select different cloth types: Curtain, Flag, Tablecloth, Pre-torn
- Touch: works like mouse for drag/cut/pin operations
Rules: This is a physics sandbox! The cloth is made of nodes connected by constraints. Each constraint tries to maintain its original length. Cutting constraints allows the cloth to tear. Gravity pulls the cloth down, wind pushes it sideways.