Version: 2021.1
Inherit Velocity module
Force Over Lifetime module

Lifetime by Emitter Speed

This module controls the initial lifetime of each particle based on the speed of the emitter when the particle spawns. It multiplies the start lifetime of particles by a value that depends on the speed of the object that spawned them. For most Particle Systems, this is the GameObject velocity, but for sub-emitters, the velocity comes from the parent particle that the sub-emitter particle originated from.

Propiedades

Propiedad: Función:
Multiplier The multiplier to apply to the particle’s initial lifetime. The module uses this value differently depending on the curve mode you set. The curve modes are:
Constant: Uses the constant multiplier value you set for this property. Using this curve mode ignores the Speed Range property.
Curve: Takes the emitter’s speed, maps it to a value between 0 and 1 based on the Speed Range, then uses the normalized value to sample the curve.
Random Between Two Constants: Sets a random multiplier for each particle between the two values you set for this property. Using this curve mode ignores the Speed Range property.
Random Between Two Curves: Takes the emitter’s speed, maps it to a value between 0 and 1 based on the Speed Range, then uses the normalized value to sample each curve. For each particle, the module sets the multiplier to a random value between the two samples.
Speed Range The minimum and maximum emitter speeds the Particle System maps to a value along the Multiplier curve. If the emitter’s speed is equal to the first value, the multiplier is the value at the start of the curve. If the emitter’s speed is equal to the second value, the multiplier is the value at the end of the curve.
This property is only relevant if the curve mode for Multiplier is set to Curve or Random Between Two Curves.
Inherit Velocity module
Force Over Lifetime module
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961