
8.2 Using the Physics Engine 151
8.2 Using the Physics Engine
We will look at a useful application of the mass aggregate engine—creating structures
out of particle masses and hard constraints. Using this technique, we can create and
simulate many larger objects. The possibilities are endless, such as crates, mechanical
devices, even chains, vehicles, or (with the addition of springs) soft deformable blobs.
8.2.1 Rope Bridges and Cables
Sagging bridges, cables, and tilting platforms are all stalwarts of t he platform game
genre, as well as having applications in other genres.
We can set up a bridge using pairs of particles suspended by cables. Figur