hi there again,
I created a ramp with hammer and the bsp is loading as it should, for collision detection I created a cube (2,50) but when I walk up the ramp the camera only goes up, so NOT DOWN AGAIN, pretty anoying when playing your game
So what I need is some sort of gravity, that could be done in a matrix:
--------------------------------------------------------------------
height#=get ground height 1,camera position x(), camera position z()
position camera 0,camera position x(), height#+2, camera position z()
--------------------------------------------------------------------
Still hanging with me? This code works for I have tested it, it measures the ground height and ads 2 points to it so that you don't stick on the floor.
But a BSP map isn't a matrix, how could I achieve a similar effect??
"Only when all the seas are poisened, only when all the trees have been cut only when all the animals are killed, people will understand that money can't be eaten..."