I'm trying to convert this PortAL game to 3D. Can someone please explain raycasting?