Halo your nutz, code works fine... You must be doing something wrong on your end...
sync on
make matrix 1,100,100,10,10
Make object plain 1,100,100
xrotate object 1,90
position object 1,0,-10,30
set object collision on 1
make object sphere 2,1
position object 2,0,0,30
set object collision on 2
automatic object collision 2,5,1
dist#=10
height#=10
smooth=1
speed#=.06
do
move object down 2,speed#
if object hit(2,1)
speed#=-.06
endif
if object position y(2)>30
speed#=.06
endif
set camera to follow object position x(1),object position y(1),object position z(1),object angle y(1),dist#,height#,smooth,0
sync
loop