Thanks for that, i like when tutorials have some simply graphic's, i think i understand it better now.
You're welcome! The thing is, I've never actually done anything in 3d so this is completely theoretical... would be logical though.
Also I would be interested to know how one would find the position where the line and triangle pass each other, I could probably figure it out for 2d but it seems more complex for 3d.If anyone knows, would be great to note into my reference book.
I'm just guessing right now, so this might be wrong:
First check if the line ever passes the triangle, if yes, take the point where the line passes the triangle and make three more triangles with each of the points of the original triangle and the point like so:
If the area of the three triangles is equal to the area of the larger triangle, you have yourself an intersection.
I actually had a quick glimpse at a youtube video talking about this kind of intersection, thought it might be worth sharing my two cents.