Game Development Reference
In-Depth Information
cause connected particles to stay together, moving with a fixed separation distance.
This is equivalent to collisions with no bounce—when the particles stick together
and their closing velocity is reduced to zero.
Supporting both hard and elastic connections between particles allows us to build
interesting structures and simulate them in the game.
This forms our second complete physics engine: the mass-aggregate engine. Un-
like the particle engine we built first, the mass-aggregate engine is rare in published
games. It has been used to good effect in many two-dimensional platform games.
While it has largely been superseded by the more complex engines described later
in this topic, it is still useful in some games in its own right. Chapter 8 looks at its
strengths and some applications.
Search Nedrilad ::




Custom Search