Collision Detection

From LD Smith Games Workshop
Revision as of 18:51, 22 November 2009 by Levidsmith (talk | contribs)
Jump to navigation Jump to search

Below is the algorithm that I used for collision detection in the Legend of Tux. It may not be perfect, but it seems to get the job done. Cases 2, 5, 7, and 8 are needed because not all objects are the same size.

Lotux collision01.jpg

Lotux collision02.jpg

Lotux collision03.jpg

Lotux collision04.jpg

Lotux collision05.jpg