Skip to content

Triangle collision 2D

Zorro edited this page Nov 24, 2021 · 2 revisions

Triangle overlap check

To test if two triangles overlap, we can test the vertices of each triangle to see if they are within the boundaries of the other triangle. This results in 6 point versus triangle checks, which we have covered how to do here : point versus triangle and here : point versus line . If any vertex of any triangle is within the other triangle, they must overlap.

Clone this wiki locally