SET THE Y COORDINATE OF THE 3D OBJECT NUMBER N
ACTION
The command 3D_Y_POSITION N,Y set the Y coordinate of the 3D object designated by its number N, and places it in position (X,Y,Z), the coordinates X and Z of the 3D object being unchanged.
SYNTAX:
3D_Y_POSITION N,Y
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,5,0)
3d_y_position 1,5
3D_Y_POSITION
3D_Y_POSITION N,Y
SEE ALSO
3D_X_POSITION
3D_Z_POSITION