Skip to content

Functions Documentation

nasafrasa edited this page Apr 13, 2023 · 2 revisions

Documentation for all functions the ParticleSystem class has.

.push()

Runs the particle system and pushes it to the output difficulty

PS.push() // Adds the particle generator to the map

However in the brackets you can change the property of each particle, this is useful for randomizing the color, scale, rotation, etc. of every particle. Don't touch the definite position of each particle unless you really know what you're doing.

PS.push(particle => {
    particle.animate.localRotation = [[rand(0,180),rand(0,180),rand(0,180),0],[rand(0,180),rand(0,180),rand(0,180),1]]
}) // Randomizes the localRotation of each particle and pushes the particle system to the map

ReMapper Particle System Wiki

Documentation

Example Effects

Clone this wiki locally