Yes, I made a simple program below, Everything is coo, but I want the Y position of the rocket to be printed to the screen. How do I do this? Here is my code;
Rem this will show you how to load a 3ds model rocket and make it move up
rem on its own. The rocket will then dissapear at a certain height
rem this will also show you how to use the PITCH UP COMMAND
sync on
sync rate 30
make matrix 1,1000,1000,10,10
randomize matrix 1,20
load bitmap "rock059.bmp",1
get image 1,0,0,28,28
prepare matrix texture 1,1,2,2
load object "rocket.3ds",1
y#= 1
A$= "30"
do
rem make the rocket move upwards on its own
y#= y#+0.2
position object 1,0,y#,0
rem now we will make the rocket dissapear if it is to high!!
if object position y(1)>100 then hide object 1
if upkey()=1 then pitch camera down 1.6
if downkey()=1 then pitch camera up 1.6
if rightkey()=1 then turn camera right +2
if leftkey()=1 then turn camera left +2
sync
loop