Get the intersection location of two lines/arrows

But it is very buggy and I don’t know why. The 2D version works fine. @ClockworkOcean
Here ist my way to calculate it: