SET THE POSITION OF THE 3D CAMERA IN (X,Y,Z)
ACTION
The command CAM_POSITION X,Y,Z set the position of the 3D camera belonging to the target SCENE3D (first SCENE3D or SCENE3D selected by 3D_TARGET_IS N) and places it at the position (X,Y,Z). The point aimed by the 3D camera is unchanged.
By default, the 3D camera is placed at position (0,0,5), aims the point (0,0,0) and the target SCENE3D is first created SCENE3D.
SYNTAX:
CAM_POSITION X,Y,Z
USE ERROR EXAMPLE
rem create a 3D world
scene3d 1
rem create a 3D object (a teapot)
3d_teapot 1
rem position the 3D camera in (2,3,6)
cam_position 2,3,6
CAM_POSITION
CAM_POSITION X,Y,Z
SEE ALSO
CAM_X_POSITION
CAM_Y_POSITION
CAM_Z_POSITION
POINT_POSITION
POINT_X_POSITION
POINT_Y_POSITION
POINT_Z_POSITION