I have a model of an arena for my game i made it in blender but somehow with this collision code I can still manage to manouver (or however you spell it) through the model
If OBJECT COLLISION(1,0)>0: Rem collision detected
Repeat
Move Object 1,0-Speed#
posx#=cos(270-a#) * 30 + object position x(1)
posz#=sin(270-a#) * 30 + object position z(1)
Position Camera posx#,object position y(1)+6,posz#
Point Camera object position x(1),object position y(1)+6,object position z(1)
Until OBJECT COLLISION(1,0)=0
Endif
EDIT: heres the movement code if it helps
`use arrowkeys and other keys to move character
If upkey()=1
speed# = 4
Move Object 1,speed#
endif
If downkey()=1
speed# = -4
Move Object 1,speed#
endif
If leftkey()=1
Dec a#,2
endif
If rightkey()=1
Inc a#,2
endif
yrotate object 1,a#
and somewhere at the very top there is