ok guys i am currently working on a 3D maze game and i have everything done fo rthe most part besides collision. that is my biggest problem. i have read tutorials and im just lost. can anyone help me. here is my code jsut to show you what i am workign with.
thanks
rem load object
load object "maze.x",3
position object 3,500,100,500
rem load sphere
make object sphere 1,75
scale object 1,70,70,70
load bitmap "grass3.bmp",1
get image 1,0,0,256,256
rem make matrix
make matrix 1,10000.0,10000.0,25,25
prepare matrix texture 1,1,2,2
set matrix height 1,12,12,300.0
update matrix 1
print "FPS "+Str$(screen FPS())
rem sync
hide mouse
sync on
sync rate 60
do
rem Control camera with arrow keys
if upkey()=1 then x#=newxvalue(x#,a#,10) : z#=newzvalue(z#,a#,10)
if downkey()=1 then x#=newxvalue(x#,a#,-10) : z#=newzvalue(z#,a#,-10)
if leftkey()=1 then a#=wrapvalue(a#-5.0)
if rightkey()=1 then a#=wrapvalue(a#+5.0)
rem Update character
y#=get ground height(1,x#,z#)+50.0
position object 1,x#,y#,z#
yrotate object 1,a#
rem Position camera to the back of the character
cx#=newxvalue(x#,wrapvalue(a#+180),500)
cz#=newzvalue(z#,wrapvalue(a#-180),500)
cy#=get ground height(1,cx#,cz#)+600.0
position camera cx#,cy#,cz#
rem Point camera at object
point camera x#,y#,z#
sync
loop

Come see the WIP!