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

Page Links


Special Pages


Wikis

?

Render Time: 81ms

DB GetPage 33
Generate Html 11
SaveChanges (1) 22
Render Body 0
Render Sidebar 12