G.LocalToWorld
From GMod Wiki
Revision as of 20:39, 11 November 2009 by Crazy Quebecer (Talk | contribs)
| 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: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=G.LocalToWorld]G.LocalToWorld [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | N/A | ||
|---|---|---|---|
| Used on | |||
| Code |
| ||
| Output | N/A |