I'm not at home, but in the thing is something like this;
Sync on
Sync rate 100
make object cube player, 50
load object "MEDIA\terrain.x"
do
xpos# = object position x(1) //EDIT: forgot these
ypos# = object position y(1)
zpos# = object position z(1)
point camera 0,xpos#,ypos#,zpos#
position camera 0,xpos#,ypos#+200,zpos#
If object hit(player,terrain)=0 //Tried with if object collision... aswell.
position object 1,xpos#,ypos#-0.5,zpos#
else
position object 1,xpos#,ypos#+0.5,zpos#
endif
sync
loop
this should be enough.
I'v installed the Sparky's DLL and i'v tried it few times but never got the sparkys code working. could someone give one piece of working code from sparky's to check i'v installed it right.
Cheers