31 July 2019

10 November 2018

The batchsetprimitiverotations command can be used to set the rotations of multiple primitives.

CommandRequired ParametersRequired Corrade PermissionsExample
batchsetprimitiverotationsgroup, password, iteminteract
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "batchsetprimitiverotations",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "item", wasURLEscape(
                wasKeyValueEncode(
                    [
                        "Chair Leg",
                        // Quaternion in vector format.
                        "<10, 230, 113, 0>",
                        "45f8d053-6390-4fb0-963f-39850985574b",
                        "<15, 10, 20, 200>"
                    ]
                )
            ),
            "range", 5
        ]
    )
);
Optional ParameterPossible ValueDescription
rangeA range in meters.The spherical distance from Corrade in which to locate the item.
selectionattached, rezzed or all (default: all)Either attached, rezzed or all for selecting only primitives or objects attached to avatars, primitives or objects rezzed in-world or all primitives or objects respectively.

Notes