31 July 2019

19 May 2015

The setobjectscale command can be used to set the scale of an object (in a regional frame) by resizing all primitives.

CommandRequired ParametersRequired Corrade PermissionsExample
setobjectscalegroup, password, item, scaleinteract
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // set the scale of the object
            // chair to <5, 5, 0> for all
            // primitives, uniformly
            "command", "setobjectscale",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "item", "Chair",
            "range", 5,
            "scale", wasURLEscape("<5, 5, 0>"),
            "uniform", "True"
        ]
    )
);
Optional ParameterPossible ValueDescription
rangeA range in meters.The spherical distance from Corrade in which to locate the item.
uniformEither True or FalseWhether the primitives will be scaled uniformly.

Notes