Garry's Mod Wiki

util.LocalToWorld

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

Special Pages


Wikis

?

Render Time: 26ms

DB GetPage 3
Generate Html 6
SaveChanges (1) 7
Render Body 0
Render Sidebar 8