Rotator
classEuler rotation in degrees
Fields
| Name | Type | Description |
|---|---|---|
| zero | 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