Rigid body simulation with gravity and floor collision. Circle — bounces off the floor with 0.8 restitution. Rectangle — resolves floor collisions per corner with impulse-based angular response.