Physics
Demolition
Wall, tower, pyramid or fortress; wrecking balls from the front, from above, from the corner. The collapse is the contact solver's own - nothing here is choreographed.

What happens
Build a brick wall, tower, pyramid or fortress, then launch balls from the front, above or a corner. Motion and collapse come from the shared rigid-body contact solver. Brick colour indicates speed. The bodies use simplified material properties and rigid contacts; fracture stresses and deformable masonry are not calculated. Reset rebuilds the structure. Small changes can produce different collapse paths.
Equations used in the module
Equations p = mv; K = ½mv² J_n ≥ 0; |J_t| ≤ μJ_n Δv = J/m; Δω = I⁻¹(r × J)


