Talk:Polygon Collision

From GPWiki

Concave shaps

If you have a concave shape, Will this still work ??

___________
|         /
|     ___/     __
|     | ______/  \_
|     | |__________|
|     \__   
|________\


No. You have to convert concave polygon into some convex polygons

___________
|         /
|________/     __
|     | ______/__\_
|     | |__________|
|     \__   
|_____|__\

Expanding the "collision prediction" part

The method to detect if two polygons are intersecting is pretty clear, however it would be nice to have some more details on how to detect collisions between moving polygons.

Collision Prediction

It says "You calculate the relative speed of the two objects". What does it mean with "the relative speed"? How do you calculate that?