Version: 2021.3
LanguageEnglish
  • C#

LimitVelocityOverLifetimeModule

struct in UnityEngine

/

Implemented in:UnityEngine.ParticleSystemModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual

Description

Script interface for the Limit Velocity Over Lifetime module.

Properties

dampenControls how much this module dampens particle velocities that exceed the velocity limit.
dragControls the amount of drag that this modules applies to the particle velocities.
dragMultiplierSpecifies the drag multiplier.
enabledSpecifies whether the LimitForceOverLifetimeModule is enabled or disabled.
limitMaximum velocity curve, when not using one curve per axis.
limitMultiplierChange the limit multiplier.
limitXMaximum velocity curve for the x-axis.
limitXMultiplierChange the limit multiplier on the x-axis.
limitYMaximum velocity curve for the y-axis.
limitYMultiplierChange the limit multiplier on the y-axis.
limitZMaximum velocity curve for the z-axis.
limitZMultiplierChange the limit multiplier on the z-axis.
multiplyDragByParticleSizeAdjust the amount of drag this module applies to particles, based on their sizes.
multiplyDragByParticleVelocityAdjust the amount of drag this module applies to particles, based on their speeds.
separateAxesSet the velocity limit on each axis separately. This module uses ParticleSystem.LimitVelocityOverLifetimeModule.drag to dampen a particle's velocity if the velocity exceeds this value.
spaceSpecifies if the velocity limits are in local space (rotated with the transform) or world space.