Turn Towards a Position

turnto (Commands)
TypeCorrade progressive command
Commandturnto
DescriptionThe turnto command makes Corrade rotate towards a positional vector (an LSL vector in the format <x, y, z> that describes a point in space).
Permissionsmovement
Parametersgroup, password, position
Last Changesnone

The turnto command makes Corrade rotate towards a positional vector (an LSL vector in the format <x, y, z> that describes a point in space).

Command Required Parameters Required Corrade Permissions Example
turnto group, password, position movement
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "turnto",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "position", wasURLEscape("<10 ,10 ,0>")
        ]
    )
);