NiPSysRotationModifier

From GECK
Jump to: navigation, search

NiPSysRotationModifier is a modifier for particle systems that rotates particles around a stored axis at configurable speeds.

An example of a NiPSysRotationModifier.

Its fields are:

  • Name: The name of the modifier.
  • Order: 3000 seems to be the only one used, it's a "general modifier" flag.
  • 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.
  • Rotation Speed: Sets the initial rotation for particles in radians per second.
  • Rotation Speed Variation: Sets a second rotation value to randomize the particle rotation speed evenly between a range of the value of Rotation Speed and this value.
  • Rotation Angle: Sets the initial angle particles are rotated on spawning to in radians.
  • Rotation Angle Variation: Sets a second rotation value to randomize the particle angle evenly between a range of the value of Rotation Angle and this value.
  • Random Rot Speed Sign: Determines if the initial speed of particle rotations is negated upon spawning. Seems to be unique to Bethesda.
  • Random Axis: Whether or not every particle has a randomly decided initial rotation axis.
  • Axis: The rotational axis all particles initially have. If Random Axis is enabled, then this value is ignored.