Camera

SL includes both first-person and third-person camera modes. By disconnecting the camera from the avatar (to around 50m max away [see Notes below]), a lot more can be done otherwise. Some uses of the camera functions are...

llClearCameraParams

llClearCameraParams() Resets all camera parameters to default values and turns off scripted camera control. Requires llRequestPermissions(key agent, PERMISSION_CONTROL_CAMERA). The agent (avatar camera) this function targets is the agent that gave...

llSetCameraAtOffset

llSetCameraAtOffset(vector offset) Sets the camera at offset used in this object if an avatar sits on it. Use ZERO_VECTOR to cancel. The same functionality can be found in llSetCameraParams and more. The offset argument defines the point the camera is facing (relative...

llSetCameraEyeOffset

llSetCameraEyeOffset(vector offset) Sets the camera eye offset used in this object if an avatar sits on it. Use ZERO_VECTOR to cancel. The same functionality can be found in llSetCameraParams and more. This defines the position of the camera. Define the point...

llSetCameraParams

llSetCameraParams(list rules) Sets multiple camera parameters at once. List format is [rule1, value1, rule2, value2 . . . ruleN, valueN] Requires PERMISSION_CONTROL_CAMERA. The agent/avatar camera function targets the agent that gave PERMISSION_CONTROL_CAMERA to the...