Garry's Mod Wiki

Entity:SetLocalPos

  Entity:SetLocalPos( Vector pos )

Description

Sets local position relative to the parented position. This is for use with Entity:SetParent to offset position.

This is also used by NPCs for interpolated movement. If you use Entity:SetPos for step movement, your NPC will snap to position instead.

Arguments

1 Vector pos
The local position