BSParentVelocityModifier

From GECK
Jump to: navigation, search

BSParentVelocityModifier is a modifier for particle systems that makes particles inherit linear velocity from the movement of the parent NiNode. Velocity is determined by the change in position between two frames, and is unrelated to velocity from Havok, although it can contribute. Rotational velocity is not inherited.

An example of a BSParentVelocityModifier.

Its fields are:

  • Name: The name of the modifier.
  • Order: 3000 is 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.
  • Damping: Multiplies the inherited velocity by this amount. Usually used to reduce inherited velocity.