31 July 2019

20 August 2015

18 August 2015

Corrade can alter the shape of existing in-world primitives by using the setprimitiveshapedata command.

CommandRequired ParametersRequired Corrade PermissionsExample
setprimitiveshapedatagroup, password, iteminteract
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // set the primitive named "Ball"
            // in a 2m range to a sphere shape
            "command", "setprimitiveshapedata",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "item", "Ball",
            "range", 2,
            "type", "sphere"
        ]
    )
);
Optional ParameterPossible ValueDescription
rangeA range in meters.The spherical distance from Corrade in which to locate the item.
dataA CSV list of members from the ConstructionDataThe data to construct the primitive by.
typePlease see the Corrade built-in body types.The initial body to start from, after which the parameters in data get applied. If you do not supply this parameter then data will have default values.

There are three cases depending on whether data or type are specified:

Notes