Collision Detection: Difference between revisions
Jump to navigation
Jump to search
Levidsmith (talk | contribs) (Created page with 'Below is the algorithm that I used for collision detection in the Legend of Tux.') |
Levidsmith (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
Below is the algorithm that I used for collision detection in the Legend of Tux. | 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. | ||
[[File:Lotux collision01.jpg]] | |||
[[File:Lotux collision02.jpg]] | |||
[[File:Lotux collision03.jpg]] | |||
[[File:Lotux collision04.jpg]] | |||
[[File:Lotux collision05.jpg]] |