Find the first collision between a ray and a path.
Find the closest collision between a ray and the path.