How does raycasting work

How does raycasting work?

I don't remember perfectly what that griffpatch tutorial said exactly but it's basically sending rays across a top-down maze. Each ray then represents one line that is drawn in the 3d world, the distance it is from the player draws a shorter line.


Now I need help with getting items in between a list now I need to get items 1 to 5 in a list( I’m gonna put my variable It which is iteration in it)

I don't think you need a variable for this, there's many other ways that take up less space that let you take the first 5 items of a list.

heres a website that talks about raycasting (i think you could also search on wikipedia or youtube)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.