EffectLib Helix - TheComputerGeek2/MagicSpells GitHub Wiki
Source Code
class: Helix
Description:
This effect creates a flat spiralling helix.
Configuration:
Option |
Default |
type |
"repeating" |
particle |
"flame" |
period |
10 |
iterations |
8 |
Other:
Option |
Description |
Type |
Default |
strands |
Amount of strands. |
Integer |
8 |
particles |
Particles per strand. |
Integer |
80 |
radius |
Radius of helix. |
Float |
10 |
curve |
Factor for the curves. Negative values reverse rotation. |
Float |
10 |
rotation |
Rotation of the helix. |
Double |
PI / 4 |
orient |
Defines whether to orient to the direction of the source location. |
Boolean |
false |
enableRotation |
Defines whether the effect should rotate. |
Boolean |
false |
xRotation /yRotation /zRotation |
Rotation of the torus. |
Double |
|
angularVelocityX |
Turns the cylinder by this angle each iteration around the x-axis. |
Double |
PI / 200 |
angularVelocityY |
Turns the cylinder by this angle each iteration around the y-axis. |
Double |
PI / 170 |
angularVelocityZ |
Turns the cylinder by this angle each iteration around the z-axis. |
Double |
PI / 155 |