Quote: "the object only goes a small distance then comes back to its original position"
you sure about that?
try your code, with the line i've added:
make object cube 1, 5
do
set camera to follow object position x(1), object position y(1), object position z(1), 0, 30, object position y(1)+ 20, 10, 0
if inkey$() = "w" then move object 1, .5
text 0,0,str$(object position z(1))
LOOP
and you'll see:
it is moving (along the z-axis) as you'd expect it to but you've got nothing in the background to give you a "sense of movement" as it's traversing
"nothingness" in the plain, solid colored background.
further, with your code, the small change in camera angle you're perceiving as "moving and returning back to its original position"
is based solely on the behavior of SET CAMERA TO FOLLOW.
oh, and:
Virtual Nomad @ California, USA . DBPro V7.5
AMD Phenomâ„¢ X4 9750 Quad-Core @ 2.4 GHz . 8 GB PC2-6400 RAM
ATI Radeon HD 3650 @ 512 MB . Vista Home Premium 64 Bit