Modifiers

This example shows particle effect modifiers. Modifiers are used to alter the path of emitted particles.

Project files

Here two modifiers are added to the effect in addition to the emitter. It works as follows:

The particle system features more modifier types so make sure to check them out.

Scripts

modifiers.script

function init(self)
	particlefx.play("#particles") -- <1>
end

--[[
1. Start playing the particle effect in component "particles" in this game object.
--]]