Axisangle (Function) — Skript

Addon: Skript · Category: Function

Syntax

axisAngle(angle: number, axis: vector) :: quaternion

Description

Returns a quaternion from the given angle (in degrees) and axis (as a vector). This represents a rotation around the given axis by the given angle.

Examples

axisangle(90, (vector from player's facing))

View source