Polygons are shapes with at last three straight lines or angles. Squares, rectangles, and triangles are all polygons—those delightful little shapes we spent our primary school years snipping from colored paper. Collision detection between polygons is more complex than collision detection between circles because you must account for not only width (the circle’s radius), but also for height and often an angled plane, like the slope of a triangle. But if you can manage collision detection between different kinds of polygons, as well as between polygons and circles, you’ll be able to handle most collision-detection problems that your games with throw at you.
KeywordsCollision Detection Distance Vector Game Designer Voronoi Region Application Class
Unable to display preview. Download preview PDF.