2 Lines Intersection Point

Today I was just looking for an intersect node to find the intersect point between 2 lines or by 4 given points, i was surprised that i could find only stuff more complex then i need, or i just looked in the worng place :)
Anyway here u have a node to get that 2d intersection, dunno how/if it can be optimized.


nice! i think i’ve got similar math hidden in my miter module. it would be nice if you could make it more spreadable & simple to use, e.g. just use one input for all XY-coordinates and treat them according to their order (v1a,v1b,v2a,v2b,repeat); maybe even check every line for intersection with all others and output a nice spread of collision indices…