qangle

Variables

Name

Type

Description

x

float

pitch

y

float

yaw

z

float

roll

Functions

IsZero

Returns:

Type

Description

bool

true if all angle axes equals zero

Code:

local angZero = QAngle.new(0.0, 0.0, 0.0)
local bIsZero = angZero.IsZero()

Clamp

Returns:

Type

Description

QAngle

clamped to legit values angle

Code:

Normalize

Returns:

Type

Description

QAngle

normalized to legit values angle

Code:

Last updated

Was this helpful?