Hi I think i managed to translate a triangle-triangle collision routine from C to pascal, an experience that strengthened my hate to C and abuse of macros :mrgreen:

Now, given that the procedure works (i havent set up a unit test yet), how do i pass from a tri-tri collision detection to a mesh-mesh collision detection?
I mean, i have two mesh, but they're oriented in different and arbitrary rotation.
Given that i could test each mesh's triangle to each of the other (a nice o(n<sup>2</sup>) algorithm :mrgreen: ), do i have to orient all the triangle before testing or is there a quicker way ?
Any general hint ?

Thanks