0176
- Description
- Gets the heading of the object
- Syntax
- 0176: [var] = object [object handle] z_angle
- Parameter
- [var]
- Variable to store the heading
- [object handle]
- The handle of the object
- Native analog
- GET_OBJECT_HEADING
This opcode gets the heading (z angle) of the object.
Compass | Degrees | Radians |
---|---|---|
North | 0° | 0 |
West | 90° | π/2 ≈ 1.57 |
South | 180° | π ≈ 3.14 |
East | 270° | 3π/2 ≈ 4.71 |
Keywords
get, store, object, angle, heading
See also
- 0177, sets the heading of the object