Awesome\! So I updated the script by adding a new function that will locate the point where the collision will occur. Just run rayTracing.html in your browser to see it in action.