Apr 8, 2024 15:49:04
I am trying to make a 3D engine, but I can't figure out how to render walls without raycasting. can anyone help with this?
view on scratch
view on legacy ocular
Steve_Knight
loading
I am working on a doom-like 3D engine, and I understand the physics of it, but I can't figure out rendering. I am trying to make a script that takes in the following variables:
-player position
-player eye level
-player rotation
-wall bottom height
-wall top height
-wall length
-wall midpoint
-wall rotation
I know this is a lot to ask, but I simply cannot figure out how to get rotation and position right. I don't really know where to start with rotation, can anyone help me?
-player position
-player eye level
-player rotation
-wall bottom height
-wall top height
-wall length
-wall midpoint
-wall rotation
I know this is a lot to ask, but I simply cannot figure out how to get rotation and position right. I don't really know where to start with rotation, can anyone help me?