I finally was able to create a.. well.. semi working game in which a ball kinda slides around... its not very elegant, but here it is:
make matrix 1,10000,10000,50,50
make object sphere 1,5
position object 1,500,25,500
#xv = 0
#zv = 0
#cx = 50
#cz = 0
sync on
sync rate 60
do
x = object position x(1)
y = object position y(1)
z = object position z(1)
gz = get ground height(1,x,z)
position camera x-#cx,y+15,z-#cz
point camera x,y,z
if upkey() = 1 then #xv = #xv + .3
if downkey() = 1 then #xv = #xv - .3
if leftkey() = 1 then #zv = #zv + .3
if rightkey() = 1 then #zv = #zv - .3
if #xv>5 then #xv = 5
if #xv< -5 then #xv = -5
if #zv>5 then #zv = 5
if #zv<-5 then #zv = -5
if #xv>0 then #xv = #xv - .2
if #xv<0 then #xv = #xv + .2
if #zv>0 then #zv = #zv - .2
if #zv<0 then #zv = #zv + .2
if x<0 then x = 0
if x>10000 then x = 10000
if z<0 then z = 0
if z>10000 then z = 10000
position object 1,x+#xv,gz+5,z+#zv
sync
loop
I seem to recall that to make a ball have the appearance that its rolling, it requires some kinda of formula between the radius of the ball and the velocity of it, but I'm stumped. If anyone could help me out, it would be amazing