Function GeometrySingleton.lineIntersectsLine2d
Checks if the two lines (from_a
, dir_a
) and (from_b
, dir_b
) intersect. If yes, return the point of intersection as Vector2
. If no intersection takes place, returns an empty Variant
.
Note: The lines are specified using direction vectors, not end points.