nanos world API Reference Unofficial documentation
Function Server Fast

Weapon:SetSightTransform

Offset applied to align player's head to weapon's sight and rotation applied on the weapon when ADS

Syntax

Lua
my_weapon:SetSightTransform(sight_location, sight_rotation)

Parameters

Name Type Default Description
sight_location Vector — —
sight_rotation Rotator — —