Tweaked the point of intersection thing. Tested with the game and it
works.