Entity.SetLocalPos
From GMod Wiki
Revision as of 19:07, 29 May 2010 by Disseminate (Talk | contribs)
Function | |
Syntax | Entity:SetLocalPos( Vector localpos ) |
Description: | |
Adds to the entity's current position by the given vector | |
Returns: | nil |
In Object: | Entity |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.SetLocalPos]Entity.SetLocalPos [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Sets the entity's position to 100 units above it. |
---|---|
Used on | |
Code | Entity:SetLocalPos( Vector( 0, 0, 100 ) ); |
Output | N/A |