Manipulate the Camera

28 April 2021

  • C11 - added.
look (Commands)
TypeCorrade progressive command
Commandlook
Parametersgroup, password, entity
DescriptionThe look command allows manipulating the camera.
Permissionsgrooming
Last ChangesC11 - 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