physics library
Classes
- FabricSimulation
- PointMass
- One node of the cloth. Simulated in 3D: x/y are screen axes, z points towards the viewer (negative z = pushed into the screen).
- SimulationForce
- Something that pushes the cloth around on top of the springs - e.g. the crumple attraction (crumple.dart) or the scheduled pin release (pin_release.dart). Add one with FabricSimulation.addForce; it is dropped automatically once isActive turns false.
- Spring