nanos world API Reference Unofficial documentation
Function Network authority Moderate

InstancedStaticMesh:SetInstanceTransform

Changes the transform of an existing instance. You can pass all other parameters as nil to modify only a single property

Syntax

Lua
my_instanced_static_mesh:SetInstanceTransform(index, relative_location = (current location), relative_rotation = (current rotation), scale = (current scale))

Parameters

Name Type Default Description
index integer
relative_location optional Vector (current location)
relative_rotation optional Rotator (current rotation)
scale optional Vector (current scale)