Rotator
classEuler rotation in degrees
- read-only Assigning to the field raises an error.
Fields
| Name | Type | Description | |
|---|---|---|---|
| zero | read-only | Rotator | (0, 0, 0) |
| pitch | number | ||
| yaw | number | ||
| roll | number | ||
Functions
Rotator.new(roll, pitch, yaw)
Create a rotator, note the roll, pitch, yaw argument order
| roll | number | Rotation around the X axis |
| pitch | number | Rotation around the Y axis |
| yaw | number | Rotation around the Z axis |
returns Rotator