# SpeedLimitByLife module

# Overview

SpeedLimitByLife (speed limit change module), used to set the speed limit in the particle life cycle.

image.png

# Property description

Property Function Type
separateAxes Whether to limit the speed separately on the XYZ axis. boolean
x If separateAxes is true, it indicates the lower limit of the X-axis speed (target value).
If separateAxes is false, it means the lower limit of the speed of the three axes of XYZ, which is displayed as SpeedLimit in the tool.
engine.Particle.AdvancedProperty.ConstantProperty
engine.Particle.AdvancedProperty.TwoConstantsProperty
y If separateAxes is true, it indicates the lower limit of the Y-axis speed (target value). engine.Particle.AdvancedProperty.ConstantProperty
engine.Particle.AdvancedProperty.TwoConstantsProperty
z If separateAxes is true, it indicates the lower limit of the Z-axis speed (target value). engine.Particle.AdvancedProperty.ConstantProperty
engine.Particle.AdvancedProperty.TwoConstantsProperty
dampen The damping value, which can be a value between 0 and 1. The larger the value, the faster the speed will drop. number
The actual speed of the next frame is: (Dampen) * SpeedLimit + (1-Dample) * curSpeed. curSpeed ​​is the speed of the current frame. -->
点击咨询小助手