Following Griffpatch's raycasting tutorial | ScratchStats