Entity.GetRenderAngles
From GMod Wiki
Function | |
Syntax | Entity:GetRenderAngles( ) |
Description: | |
Gets the render rotation of an entity, set with Entity.SetRenderAngles | |
Returns: | Angle Render Angles |
In Object: | Entity |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.GetRenderAngles]Entity.GetRenderAngles [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Get the player's render rotation |
---|---|
Used on | |
Code | local ang = LocalPlayer():GetRenderAngles(); |
Output | ang as LocalPlayer's render angles. |