Here, you can configure particles to rotate as they move.
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. |
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).
The angular velocity option can be changed from the default constant speed. The drop-down to the right of the velocity can provide:
Property | Function |
---|---|
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 InspectorA Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. More info See in Glossary 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 | 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 (see Image B below). |
Image A: Z-axis angular velocity
Image B: Angular velocity between two curves