It’s pretty much in the question, how would i get the intercept of two line traces?

It might be that the simplest solution is using vector math.

In three-dimensional Euclidean

geometry, if two lines are not in the

same plane they are called skew lines

and have no point of intersection.

Check if the two vectors are on the same plane, if they are → perform a line-line intersection: Line–line intersection - Wikipedia

Try this link: Click Here It’s an old one, but for code it’s there. Some math understanding required for this one. but @Weibye is also right here