ok, so I know OpenGl in itself doesnt have a collision system.
However I felt that maybe I could just set the code to recognise if a player is at a certain point within the world then i could write some more code to make the game recongnise collison.
Is this possible?
Any idea on how this would be written?
at the moment i dont exactly have a proper coded camera, but just using keyboard controls to translate through the world.
so i was thinking something along the lines of:
glTranslatef(0.0, 0.0, 25.0);
but obv that just moves the cam forward, so how would i create some rule of collision after a certain distance along the zaxis
(if translate reeaches 100.0) for example