The question is answered, right answer was accepted
Pseudo 3D like in Wolfenstein 3D
So I've been trying to do the 3D you see in Wolfenstein 3D but I just cant figure out how to do it. I'm doing it based on the description given here: https://youtu.be/zb6Eo1D6VW8 If you have any good tutorials or tips I would appreciate it.
Answer by Jacky2611 · May 16, 2016 at 03:28 PM
You are trying to reinvent the wheel here. Unity is already a 3D engine. If you really wanted to do this you would have to render everything on your own by only stretching and resizing 2d sprites based on the method described in the video. You would have to figure out the correct ratio of ray length to screen size and then make sure that foreground objects are really drawn before smaller Background objects.
However, if you really want to do this you could start by looking at the original source code (C++?). I think I have seen it somewhere on github.
Edit: Yep, here it is: https://github.com/id-Software/wolf3d
Follow this Question
Related Questions
Raycast on mouse position problem. how not to raycast to 0 1 Answer
[SOLVED] get object which is nearby to mouse 1 Answer
Make a 3D Object look like hes facing a point in an 2D space 0 Answers
Accessing Raycast collider from another script 0 Answers
Find active Child gameobject out of multiple gameobjects 2 Answers