Ray To Line Intersection Distance
Geometry 2D
The Ray To Line Intersection Distance node takes in ray parameters and line parameters and calculates the distance from the ray to the line, and if it intersects, then return the distance.
Inputs
Origin (float2)
Origin of the ray.
Direction (float2)
Direction of the ray.
LinePoint0 (float2)
First point of the line segment.
LinePoint1 (float2)
Second point of the line segment.
Outputs
Distance (float)
Returns the distance of this intersection from the ray.
Intersects (bool)
Returns if this ray is intersecting this line.