Version: 2018.1
Módulo Size By Speed
Rotation By Speed module

Rotation Over Lifetime module

Here, you can configure particles to rotate as they move.

Propiedades

Propiedad Función
Separate Axes Allow rotation to be specified per axis. When this is enabled, the option to set a rotation for each of X, Y and Z is presented.
Angular Velocity Velocidad de rotación por segundo en grados. Ver abajo para más información.

Detalles

This setting is useful when particles represent small solid objects, such as pieces of debris from an explosion. Assigning random values of rotation will make the effect more realistic than having the particles remain upright as they fly. The random rotations will also help to break up the regularity of similarly shaped particles (the same texture repeated many times can be very noticeable).

Leaves rendered using particles with random 3D rotation
Leaves rendered using particles with random 3D rotation

Options

The angular velocity option can be changed from the default constant speed. The drop-down to the right of the velocity can provide:

Propiedad Función
Constant La velocidad de la rotación de la partícula en grados por segundo.
Curve The angular velocity can be set to change over the lifetime of the particle. A curve editor appears at the bottom of the Inspector which allows you to control how the velocity changes throughout the lifetime of the particle (see Image A below). If the Separate Axes box is ticked, each of the X, Y and Z axes can be given curved velocity values.
Random Between Two Constants Las propiedades de la angular velocity tienen dos ángulos permitiendo una rotación entre estos.
Random Between Two Curves The angular velocity can be set to change over the lifetime of the particle specified by a curve. In this mode, two curves are editable, and each particle will pick a random curve between the range of these two curves that you define (see Image B below).

Image A: Z-axis angular velocity

Image B: Angular velocity between two curves

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