One thing I did notice when looking at your script again is that you’re using “DrawLine” instead of “DrawRay”, they work a bit differently so that may be the reason why it appears that way. Use “DrawRay” and it should fix the issue. Either way the raycast is working properly, DrawRay is just for debugging purposes.