nanos world API Reference Unofficial documentation
Function Shared Moderate

Pawn:SetStaticMeshAttachedTransform

Sets a Static Mesh Attached location and rotation

Syntax

Lua
my_pawn:SetStaticMeshAttachedTransform(id, relative_location, relative_rotation)

Parameters

Name Type Default Description
id string Unique ID of the StaticMesh set with AddStaticMeshAttached
relative_location Vector New relative location
relative_rotation Rotator New relative rotation