Axisangledegrees (Function) — skript-particle

Addon: skript-particle · Category: Function

Syntax

axisAngleDegrees(angle: number, x: number, y: number, z: number) :: quaternion

Description

Returns a quaternion from the given axis and angle parameters. The axis is a vector composed of 3 numbers, x, y, and z, and the angle is the rotation around that axis, in degrees.

Examples

set {_v} to axisAngleDegrees(180, 1, 0, 0)

View source