Legacy Documentation: Version 5.3
Size By Speed Module
Rotation By Speed Module

Rotation Over Lifetime Module

Here, you can arrange for particles to rotate as they move.

Properties

Property: Function:
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 Rotation velocity in degrees per second. See below for more information.

Details

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. Also, the random rotations will 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 on the right of the velocity can provide:

Constant

The velocity for particle rotation in degrees per second.

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.

Z-axis angular velocity
Z-axis angular velocity

If the Separate Axes tick box is set each of the X, Y and Z axis can be given curved velocity values.

Random Between Two Constants

The angular velocity properties has two angles allowing a rotation between them.

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.

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