Find line intersection

[Edit] – looks like this question should be in https://answers.unity.com/ so I’m moving it there, can’t delete it here though!

It seems like there is a simple solution, but it’s very frustrating. I can’t seem to find it. How can I find the point where the lines A-a and B-b intersect?
I basically want something like

Vector3 x = GetIntersection(A, a, B, b)

with (lower case) a and b being the directions of the lines, their actual points are not important. They could be directional coefficients or normalized vectors.

It seems like a job for Vector3.Cross? Unfortunately I don’t understand how it works.I just get zeroes and small numbers with GetNormals(A, Vector3.Zero, B)

Vector3 GetNormal(Vector3 a, Vector3 b, Vector3 c)
    {
        // Find vectors corresponding to two of the sides of the triangle.
        Vector3 side1 = b - a;
        Vector3 side2 = c - a;

        // Cross the vectors to get a perpendicular vector, then normalize it.
        return Vector3.Cross(side1, side2).normalized;
    }

Seems like basic math, but I could really use some help with this!

Try taking a look at this Unity 3D maths functions link. That may contain what you are looking for?