NiPSysTurbulenceFieldModifier

From GECK
Jump to: navigation, search

NiPSysTurbulenceFieldModifier is a modifier for particle systems that simulates an area of localized turbulence by randomly adjusting the velocity (possibly rotation as well?) of particles that enter the vicinity of a Field Object.

An example of a NiPSysTurbulenceFieldModifier.

Its fields are:

  • Name: The name of the modifier.
  • Order: 4000 seems to be the only one used, it instructs the particle system to update forces from this modifier.
  • Target: The particle system you wish to affect.
  • Active: If the modifier is enabled. You can animate this value by specifying the name of the modifier as the Controller ID in a NiControllerSequence and using a NiPSysModifierActiveCtlr as a controller with a NiBoolTimelineInterpolator as the interpolator.
  • Field Object: A NiNode to center the turbulence field around.
  • Magnitude: Determines how strong the influence of turbulence is per occurrence.
  • Attenuation: Determines how much the effect of turbulence diminishes over distance from the center when combined with Max Distance.
  • Use Max Distance: If no, then this effect has infinite range in its particle system.
  • Max Distance: The maximum distance from the center before the turbulence effect ceases.
  • Frequency: Determines how often turbulence occurs per second.