Vectors - Spherical Shape (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.2-dev28

Syntax

[a] [new] spherical vector [(from|with)] [radius] %number%, [yaw] %number%(,[ and]| and) [pitch] %number%

Description

Forms a 'spherical shaped' vector using yaw and pitch to manipulate the current point.

Examples

loop 360 times:
	set {_v} to spherical vector radius 1, yaw loop-value, pitch loop-value
set {_v} to spherical vector radius 1, yaw 45, pitch 90

View source