Simulating The Physics
Assume we know how to compute when two moving spheres will intersect
- Given the state of the system, we can calculate when the next collision will occur for each ball
- At each collision Ci:
- Advance the system to the time Ti of the collision
- Recompute the next collision for the ball(s) involved
- Find the next overall collision Ci+1 and repeat
- How should we keep track of all these collisions and when they occur?