com.heathen.verlet provides Verlet-integration transforms for rope, cloth, chains, and other soft-body-adjacent effects where a full rigidbody/cloth simulation would be unnecessary overhead.
Key components #
VerletTransforms/VerletTransforms2D— a chain of Verlet-simulated points driving a set of Transforms.VerletTransformTree/VerletTransformTree2D— a branching hierarchy variant for tree-like structures (foliage, tentacles, hair).VerletTransformTreeSettings— shared simulation settings (stiffness, gravity, iteration count) for a tree instance.
Implementation notes #
Simulation runs on a background thread with proper cancellation and cleanup on destroy. Depends on com.heathen.unityphysics for shared physics math utilities (API.Maths).