View Single Post
  #2  
Old 07-08-2011, 09:34 PM
Mark Sir Link Mark Sir Link is offline
Kevin Azite
Mark Sir Link's Avatar
Join Date: Sep 2005
Posts: 1,489
Mark Sir Link is just really niceMark Sir Link is just really nice
Send a message via AIM to Mark Sir Link
add emit modifier means the default particle settings defined previously are being modified.

add global modifier means all existing particles will be modified.

add local modifier will modify all of the particles individually.

so something like

emitter.addemitmodifier("impulse", 0.115, 0.115, "angle", "add", degtorad(5), degtorad(5));

would cause the angle the particle launches at to increase by 5 degrees every .115 seconds

emitter.addglobalmodifier("impulse", 0.05, 0.05, "angle", "add", degtorad(-12.5), degtorad(-12.5));

would cause all existing particles to move -12.5 degrees every .05 seconds.

I'm assuming this winds up making a spiral?
Reply With Quote