Entity.GetAngles
From GMod Wiki
Function | |
Syntax | Entity:GetAngles( ) |
Description: | |
This returns an angle object representing the rotation of the entity. | |
Returns: | Angle |
In Object: | Entity |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.GetAngles]Entity.GetAngles [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Finding the rotation of an entity |
---|---|
Used on | |
Code | Msg("angles = "..tostring(self:GetAngles()).."\n") |
Output | Prints the angles of an entity to the console. |