Custom 3D rigid-body physics
Find the point of contact of the box and ball, and repeat the impact volume several times, making the 3D physics without a library, in which the wooden tower that rolls and accumulates the dice collapses like a real thing.
- Category
- Physics simulation
Technical terms · Rigid body dynamics (sequential impulses) · Separating Axis Theorem (SAT) + face clipping · Warm starting · Coulomb friction · Restitution · Fixed timestep (1/120 s) · Sleeping