Entity.GetRight
From GMod Wiki
| Function | |
| Syntax | ent:GetRight( ) |
| Description: | |
| Returns the rightward vector of the entity. | |
| Returns: | Vector |
| In Object: | Entity |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.GetRight]Entity.GetRight [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Prints the rightward vector of all entities |
|---|---|
| Used on | |
| Code | for _, v in pairs ( ents.GetAll() ) do MsgN( tostring( v:GetRight() ) ) end |
| Output | X, Y, Z values in console. |