Game Development Reference

In-Depth Information

Summary

At this point you should be comfortable with the terms that appear in the equations of

motion and be able to calculate terms like the sum of forces and moments, mass, and

inertia. You should also have a solid understanding of basic numerical integration tech‐

niques. Implementing these techniques in code is really straightforward since they are

composed of simple polynomial functions. The hard part is developing the derivative

function for your problem. In the case of the equations of motion, the derivative function

will include all your force and moment calculations for the particle or rigid body that

you are modeling. You'll see some more numerical integration code when you get to

Chapter 8
,
Chapter 9
, and
Chapter 11
.