USE TURBOWARP: https://turbowarp.org/968565488?turbo WASDQE to move camera position. ARROW keys to move FACE ======================================= I FINALLY DID IT LETS GOOOO!!!!! I will admit, I couldn't have done it without @SpinningCube 's raymarching tutorial: https://scratch.mit.edu/projects/404481885/ but I only needed the vector direction function. AND NOW I CAN RAYCAST!!!! Yes this is rayCASTING, not to get confused with rayMARCHING. RayCASTING is moving a point in a direction until it intersects with one of the many objects in the scene. RayMARCHING is more efficient, it calculates distances from a point to every object in the scene, then moves that distance until it intersects something. BUT WHY DID I DO RAYCASTING???? The tutorial never said how to raymarch a cube, just planes a spheres, so I did raycasting instead, because you can tell when a point is within a rectangular prism. #3D #raycasting #3D_engine #3Dengine #cube #sphere #engine #3D