
16
Stability and
Optimization
he physics engine we’ve built so far is perfectly usabl e. As it stands, however,
Tthere are two criticisms that can be leveled:
Occasionally, strange effects are visible, such as objects appearing to be
squashed or skewed, or objects sliding down hills despite gravity, and fast-
moving objects may not behave believably.
Fo r very large numbers of objects, the simulation can be slow.
We can address these problems to arrive at our final physics engine implementa-
tion that will be powerful and robust enough to be used in a wide range of games.
The remaining chapters in the book w ill focus on ways of applying or extending ...