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

  • 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.

secondlife/scripted_agents/corrade/api/commands/look.txt ยท Last modified: 2021/04/28 01:42 (external edit)

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the copyright, license, warranty and privacy terms for the usage of this website please see the license, privacy, copyright and the plagiarism pages.