Chapter 4. Collisions Between Polygons

Collisions Between Polygons

In this chapter, we're going to look at these topics:

  • Collisions between rectangles

  • Collisions between rectangles and circles

  • Collisions between rectangles, circles, and triangles

We'll then take a detailed look at two important case studies that use all the techniques we've covered in this book so far, along with a few new ones. We'll begin with an introduction to the technique that lets us do efficient polygon collision detection.


This chapter assumes that you're fluent in the vector math concepts covered in Chapters 2 and 3. If you think you're a little hazy on any vector math topics, review those earlier ...

Get AdvancED Game Design with Flash now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.