Expand description
Spring-damper physics.
Used for camera following, glyph position settling, UI element animation, and any value that should approach a target with physical feel.
Structs§
- Constrained
Spring - A spring with configurable position clamping constraints.
- Coupled
Oscillators - A bank of N coupled oscillators — each oscillator influences its neighbors.
- Distance
Constraint - Maintains a target distance between two points, with spring-based correction.
- PinConstraint
- Pins a point to a fixed world-space position.
- Spring2D
- A 2-D spring (two independent SpringDampers sharing the same parameters).
- Spring3D
- A 3-D spring. Also exported as
SpringDamper3for camera API compatibility. - Spring
Chain - A chain of N particles connected by spring-based distance constraints.
- Spring
Damper - A spring-damper system that tracks a scalar value toward a target.
- Spring
Network - A general graph of nodes connected by spring edges.
- Verlet
Cloth - A 2D grid of Verlet points connected by distance constraints.
- Verlet
Point - A single Verlet-integrated point with optional pin.
Type Aliases§
- Spring
Damper3 - Alias used by the camera system.