Visualizing how raycasting works. Rays are cast from the player. The size of a wall depends on the length of the ray from the player to the wall. Walk with WASD and look with mouse (press canvas to capture mouse and escape to uncapture)
Visualizing how raycasting works. Rays are cast from the player. The size of a wall depends on the length of the ray from the player to the wall. Walk with WASD and look with mouse (press canvas to capture mouse and escape to uncapture)