A real-time physics sandbox showcasing various simulation techniques. The soft body system uses position-based dynamics for stable, real-time simulation of deformable objects.
Fluid simulation is implemented using Smoothed Particle Hydrodynamics (SPH) with spatial hashing for neighbor queries. The simulation handles thousands of particles with realistic surface tension and viscosity.
Destructible environments use a Voronoi-based fracture system that pre-computes break patterns for instant runtime destruction. All systems can interact—fluids affect soft bodies, explosions trigger destruction chains.