nanos world API Reference Unofficial documentation
Function Shared Fast

Vehicle:SetStaticMeshAttachedTransform

Sets a Static Mesh Attached location and rotation

Syntax

Lua
my_vehicle: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