hello, i'm trying to implement an interval overlap triangle-triangle collision detection method for a space combat simulator i'm working on, based on this

http://www.google.no/url?sa=t&source...F9yy4iJg<br />

this is how far i got.

"triangle1"

U0 = $triangle1.verts[1].pos

U1 = $triangle1.verts[2].pos

U2 = $triangle1.verts[3].pos

"triangle2"

V0 = $triangle2.verts[1].pos

V1 = $triangle2.verts[2].pos

V2 = $triangle2.verts[3].pos

"normal2"

normvector = cross (V1-V0) (V2-V0)

n2 = normalize normvector

d2 = dot -n2 V0

"signed distances"

n2*U0+d2

n2*U1+d2

n2*U2+d2

however, i'm struggling with creating the point O in the formula

L = O+tD. i managed to get tD from the formulas, but there doesn't seem to be an explanation on how to get O. what it tells me is that O is a point on the line where the planes cross.