This example contains a cloth simulation with custom physics (including force of gravity, air resistance and elastic restoration force).
Controls:
- Pick up and move a node by dragging it with the mouse
- Press A while dragging a node to toggle its affixed status
- Press S while dragging a node to snip its vertical connection
- Press Q to decrease wind force / increase wind to the left
- Press W to increase wind force / increase wind to the right
- Press R to respawn cloth nodes
- Press D to toggle debug render mode
- Press Escape to exit