Garry's Mod Wiki

util.LocalToWorld

  Vector util.LocalToWorld( Entity ent, Vector lpos, number bonenum )

Description

Returns a vector in world coordinates based on an entity and local coordinates

Arguments

1 Entity ent
The entity lpos is local to
2 Vector lpos
Coordinates local to the ent
3 number bonenum
The bonenumber of the ent lpos is local to

Returns

1 Vector
wpos