self:scale_local

Client

Scales the area in its own local coordinate space


Syntax

local status = self:scale_local(
    scale
)

Parameters

TypeNameDescription
vector3scaleScale factor to apply as {x, y, z}

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Scale a area locally
local entity = physics.area.create()

entity:scale_local({2, 2, 2})

On this page