Hello everyone, sorry, this project doesn't work quite right because when you move, you have to wait to see the 3D image. It is very simple though, and feel free to use any part of the code. Have fun!
I made this project without using any turtorials originally, but it worked even worse than this one, so I watched a quick tutorial by Griffpatch, which helped me get the player movement working as well as the rays.