G.LocalToWorld

From GMod Wiki

Revision as of 20:39, 11 November 2009 by Crazy Quebecer (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax LocalToWorld( Vector localPos, Angle localAngle, Vector originPos, Angle originAngle )
Where is this used?
Description:
Converts a 'local position' (a vector offset from (0,0,0), where (0,0,0) is considered to be the origin's center), to a world position. World position is the standard type of position, where (0,0,0) is the center of the map.
Returns: Vector , Angle
Part of Library: Global Functions
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=G.LocalToWorld]G.LocalToWorld [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionN/A
Used onNewerMissing.png
Code
LuaIco3.pngThis page needs an example to demonstrate the item detailed on this page. See how to make one here.
See more articles that need examples here.
OutputN/A


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox