Hi all, i just finished this patch in which i load a text file in the form of 0s and 1s and it creates a 3d world where 0 are empty spaces and 1 are walls.
The camera can go through with simple commands: forward, turn left, turn right.
Now i'm trying to forbid the camera to enter wall spaces, i thought of clipping the coordinates in proximity of such walls. Anyone has a better/easier way?
PATCH ATTACHED WITH EXAMPLE TEXT FILE, sometimes the text file must be reset a couple of times for some reason.