Rotator

Rotator

class

Euler rotation in degrees

Fields

NameTypeDescription
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