Added nicer debugger to determine which segment is 'closest' according to raycasts