28 April 2021
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. |