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.

Note

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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.