I have a simple setup:
How do I calculate the orange distance?
It's the distance between the block on the left to the white line in the center (X & Z axes combined).
I don't have the intersection point. My only knowledge of the white line is that it goes through the point (0, 0, 0), running between (10, 0, -10) and (-10, 0, 10)
My problem is that I need to calculate this distance without the depth (Y value). Only on two planes combined: X & Z