Entity.GetAngles

From GMod Wiki

(Redirected from CLuaParticle.GetAngles)
Jump to: navigation, search
Function
Syntax Entity:GetAngles( )
Description:
This returns an angle object representing the rotation of the entity.
Returns: Angle
In Object: Entity
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Entity.GetAngles]Entity.GetAngles [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionFinding the rotation of an entity
Used onNewerShared.png
Code
Msg("angles = "..tostring(self:GetAngles()).."\n")
OutputPrints the angles of an entity to the console.


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox