28 April 2021

The look command allows manipulating the camera.

CommandRequired ParametersRequired Corrade PermissionsExample
activategroup, password, entitygrooming
llInstantMessage(CORRADE, 
    wasKeyValueEncode(
        [
            "command", "look",
            "group", wasURLEscape(GROUP),
            "entity", "orientation",
            "roll", 1,
            "pitch", 1,
            "yaw", 1,
            "password", wasURLEscape(PASSWORD)
        ]
    )
);
ParameterPossible ValueSecond ParameterPossible ValueDescription
entityraysourceA point vector.Look from source towards target along a line defined by the two point vectors.
target
orientationpositionA point vector.Set the camera at position and apply the rotation defined by roll, pitch and yaw.
rollA value in radians.
pitch
yaw
resetReset the camera and place it on the bot.

Notes