Camera Command

camera [location=place] [target=place]

Overview

The camera command can be used to place the camera within the scene. Note that this command will move the camera, but there is nothing to prevent the user from simply switching back to their desired view. Also, this command does not offer the ability to adjust the field of view. If you need to lock the user into a given view, or if you need to adjust the FOV, then you should use a camera object.

Also it should be noted the user's controls do not change if the camera view shifts. This can make it very hard for users to navigate if they find the view suddenly looking down on themselves from one side. For this reason, this is a special command and a user must have the rights to use special commands in order to construct an object that uses the camera command.

Location

This defines where the camera will be positioned. If you specify the word "user" then the camera will be placed at the user's eye position. Otherwise, this is assumed to be a name given to another object using the name command. If you omit this value then the camera will be located at the object's origin. Note that if the camera is attached to an object, it will follow that object even if it is moving via the rotate or move commands.

Target

This defines where the camera will look. If you spcify the word "user" then the camera will watch the user. Otherwise, the camera will look at the object specified. If the object is moving, then the camera will track to follow the object.

If you omit both location and target, it will reset the current view to the default first-person view. Also, if you assign both target and location to the same place, then the command will be ignored.