ABSTRACT

In this chapter, we will extend our physics engine so it can cope withmultiple different forces acting at the same time.Wewill assume that gravity is one force, although this can be removed or set to zero if required. We will also look at force generators, that is, code that can calculate forces based on the current state of the game world.