Manipulate the Camera
look (Commands) |
Type | Corrade progressive command |
Command | look |
Parameters | group , password , entity |
Description | The look command allows manipulating the camera. |
Permissions | grooming |
Last Changes | C11 - added. |
The look
command allows manipulating the camera.
Command | Required Parameters | Required Corrade Permissions | Example |
activate | group , password , entity | grooming | llInstantMessage(CORRADE,
wasKeyValueEncode(
[
"command", "look",
"group", wasURLEscape(GROUP),
"entity", "orientation",
"roll", 1,
"pitch", 1,
"yaw", 1,
"password", wasURLEscape(PASSWORD)
]
)
);
|
Parameter | Possible Value | Second Parameter | Possible Value | Description |
entity | ray | source | A point vector. | Look from source towards target along a line defined by the two point vectors. |
target |
orientation | position | A point vector. | Set the camera at position and apply the rotation defined by roll , pitch and yaw . |
roll | A value in radians. |
pitch |
yaw |
reset | | | Reset the camera and place it on the bot. |
Notes
In case Corrade is configured with the center camera enabled, then every time the bot moves or is teleported, the camera will be centered on the bot thereby invalidating the effects of this command.
Note that the setting the camera position cannot surpass the configured or the specified draw distance for all pragmatic purposes.