Plane p = new Plane(Vector3.Up, 1); Ray ray = new Ray(new Vector3(0, 2, 0), Vector3.Down); float? distanceToIntersection = ray.Intersects(p);