Version: 2017.1
Módulo Size Over Lifetime
Rotation Over Lifetime module

Módulo Size By Speed

Este módulo le permite a usted crear partículas que cambian de tamaño de acuerdo a su velocidad en unidades de distancia por segundo.

Propiedades

Propiedad Función
Separate Axes Control the particle size independently on each axis.
Size Una curva definiendo el tamaño de la partícula sobre un rango de velocidad.
Speed Range Las extremidades inferiores y superiores del rango de velocidad a los cuales la curva de tamaño está mapeada (velocidades afuera del rango serán mapeadas a los puntos finales de la curva).

Detalles

Some situations will require particles which vary in size depending on their speed. For example, you would expect small pieces of debris to be accelerated more by an explosion than larger pieces. You can achieve effects like this using Size By Speed with a simple ramp curve that proportionally increases the speed as the size of the particle decreases. Note that this should not be used with the Limit Velocity Over Lifetime module, unless you want particles to change their size as they slow down.

Speed Range specifies the range of values that the X (width), Y (height) and Z (depth) shapes apply to. The Speed Range is only applied when the size is in one of the curve modes. Fast particles will scale using the values at the right end of the curve, while slower particles will use values from the left side of the curve. For example, if you specify a Speed Range between 10 and 100:

  • Speeds below 10 will set the Particle size corresponding with the left-most edge of the curve.
  • Speeds above 100 will set the Particle size corresponding with the right-most edge of the curve.
  • Speeds between 10 and 100 will set the Particle size determined by the point along the curve corresponding to the Speed. In this example, a Speed of 55 would set the size according to the midpoint of the curve.

Escala de partículas no-uniforme

You can specify how a particle’s width, height and depth size changes by speed independently. In the Size by Speed module, check the Separate Axes checkbox, then choose how the X (width), Y (height) and Z (depth) of the particle is affected by the speed of the particle. Remember that Z will only be used for Mesh particles.

Módulo Size Over Lifetime
Rotation Over Lifetime module
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961