Entity.GetRenderAngles

From GMod Wiki

Jump to: navigation, search
Function
Syntax Entity:GetRenderAngles( )
Description:
Gets the render rotation of an entity, set with Entity.SetRenderAngles
Returns: Angle Render Angles
In Object: Entity
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Entity.GetRenderAngles]Entity.GetRenderAngles [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionGet the player's render rotation
Used onNewerClient.png
Code
 
local ang = LocalPlayer():GetRenderAngles();
 
Outputang as LocalPlayer's render angles.
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox