G.Angle
From GMod Wiki
| Function | |
| Syntax |
Angle( Number pitch, Number yaw, Number roll ) Where is this used? |
| Description: | |
| Creates an Angle object with the specified options for use with entities and vectors, in degrees | |
| Returns: | Angle |
| Part of Library: | Global Functions |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=G.Angle]G.Angle [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Create an 'up' angle |
|---|---|
| Used on | |
| Code | Angle( 90, 0, 0 ) |
| Output | Angle |