31 July 2019
selection
parameter.19 May 2015
<data Commands>
Type: Corrade progressive command
Command[wiki]: setobjectscale
Description[wiki]: The setobjectscale
command can be used to set the scale of an object (in a regional frame) by resizing all primitives.
Permissions[wiki]: interact
Parameters[wiki]: group
, password
, item
, scale
Last Changes[wiki]: Release 8.12 - added.
</data>
The setobjectscale
command can be used to set the scale of an object (in a regional frame) by resizing all primitives.
Command | Required Parameters | Required Corrade Permissions | Example |
---|---|---|---|
setobjectscale | group , password , item , scale | interact | 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 Parameter | Possible Value | Description |
---|---|---|
range | A range in meters. | The spherical distance from Corrade in which to locate the item. |
uniform | Either True or False | Whether the primitives will be scaled uniformly. |