Hi, here is a simple demo that has simple collision. Basically it makes a invisible ball where the player is. Then, if that ball hits something it is moved a tiny bit backwards so that it can't go throught the object.
Hope I'v helped


sync on
sync rate 60
hide mouse
rem Make A Obstacle
make object cube 1,5
set object collision on 1
rem Make The Player
make object sphere 2,3
set object collision on 2
do
rem These control the Player's Position
rotate object 2,object angle x(2)+(mousemovey()/2),object angle y(2)+(mousemovex()/2.0),0
If keystate(17)=1
move object 2,0.2
endif
If keystate(31)=1
move object 2,-0.2
endif
rem If the player's object hits the other object, don't let it move through it.
if object Collision(2,1)>0 then move object 2,-0.2
rem Tell the User if there is a collision
if object Collision(2,1) then text 0,0, "COLLISION!"
rem Put the Camera where the Player is.
position camera object position X(2),object position Y(2),object position Z(2)
rotate camera object angle X(2),object angle Y(2),object angle Z(2)
sync
loop
If it hasn't exploded yet, I haven't touched it.