Particle Helix / Spiral (Expression) — skript-particle

Addon: skript-particle · Category: Expression · Since: 1.0.0

Syntax

[a[n]] [solid] [[(counter|anti)[-]]clockwise] (helix|spiral) (with|of) radius %number%[,] [and] height %number%[[,] [and] winding rate [of] %-number% [loops per (meter|block)]]

Description

Creates a helix or spiral shape with the given radius and height. The radius and height must be greater than 0. The winding rate is the number of loops per meter or block. If omitted, the winding rate will be 1 loop per block. The height of the helix can be manipulated through both the length and height expressions.

Examples

set {_shape} to helix with radius 10 and height 5
set {_shape} to a spiral with radius 3 and height 5 and winding rate of 2 loops per meter
set {_shape} to a solid anti-clockwise helix with radius 3, height 5, winding rate 1

View source