🔄Angle
Angle metatable
Fields
Name
Type
Description
pitch
number
yaw
number
roll
number
Name
Type
Description
pitch [?]
number
(default: 0.0)
yaw [?]
number
(default: 0.0)
roll [?]
number
(default: 0.0)
Create a new Angle.
:__tostring(): string
string
:GetForward(): Vector
Vector
Returns the forward vector from a given Angle.
Returns the forward, right and up.
:GetYaw(): number
number
Returns the yaw. The same as Angle.yaw.
:GetRoll(): number
number
Returns the roll. The same as Angle.roll.
:GetPitch(): number
number
Returns the pitch. The same as Angle.pitch.
:SetYaw(value: number
): nil
number
): nil
Name
Type
Description
value
number
Sets the yaw. The same as Angle.yaw = value.
:SetRoll(value: number
): nil
number
): nil
Name
Type
Description
value
number
Sets the roll. The same as Angle.roll = value.
:SetPitch(value: number
): nil
number
): nil
Name
Type
Description
value
number
Sets the pitch. The same as Angle.pitch = value.
Last updated