SET THE Z COORDINATE OF THE 3D OBJECT NUMBER N
ACTION
The command 3D_Z_POSITION N,Z set the Z coordinate of the 3D object designated by its number N, and places it in position (X,Y,Z), the coordinates X and Y of the 3D object being unchanged.
SYNTAX:
3D_Z_POSITION N,Z
USE ERROR EXAMPLE
rem create a 3D world
scene3d 1
rem resize the 3D world
width 1,300:height 1,300
rem place the camera
cam_position 5,10,10
rem a sphere is created at (0,0,0)
3d_sphere 1,2
rem wait for 1 second
wait 1000
rem move it to (0,0,5)
3d_z_position 1,5
3D_Z_POSITION
3D_Z_POSITION N,Z
SEE ALSO
3D_X_POSITION
3D_Y_POSITION