Simple Collision Examples

Drag the shapes around. The shapes will turn red when they are colliding. The smaller shape will turn green if it is completely inside the larger one.

Circle-Circle collision

Circle-Polygon Collision

Polygon-Polygon Collision