A Particle System Force Field component can apply forces to particles belonging to Particle Systems. To attach this component to a Particle System, enable the External Forces Module in the Particle System, and assign either a Layer Mask, or the specific Force Field component.
For a full introduction to particle systems and their uses, see documentation on Particle Systems.
Use the Particle System Force Field component to apply various types of forces to particles.
Property | Function |
---|---|
Shape | |
Shape | The shape of the area of influence. |
Start Range | The inner point within the shape, where the area of influence begins. |
End Range | The outer point of the shape, where the area of influence ends. |
Direction X, Y and Z | A linear force to apply to particles along the x-axis, y-axis and z-axis respectively. The higher the value, the greater the force. You can specify a constant force or vary the force over time. See Varying properties over time. |
Gravity | |
Strength | The amount of attraction that particles have towards the focal point within the shape. The higher the value, the greater the strength. You can specify a constant strength or vary the strength over time. See Varying properties over time. |
Gravity Focus | The focal point for gravity to pull particles towards. A value of 0 attracts particles to the center of the shape, and a value of 1 attracts particles to the outer edge of the shape. |
Rotation | |
Speed | The speed at which the Particle System propels particles around the vortex, which is the center of the force field. The higher the value, the faster the speed. You can specify a constant speed or vary the speed over time. See Varying properties over time. |
Attraction | The strength at which particles are dragged into the vortex motion. A value of 1 applies the maximum attraction, and a value of 0 applies no attraction. You can specify a constant attraction or vary the attraction over time. See Varying properties over time. |
Rotation Randomness | A random axes of the shape to propel particles around. A value of 1 applies maximum randomness, and a value of 0 applies no randomness. |
Drag | |
Strength | The strength of the drag effect, which slows particles down. The higher the value, the greater the strength. You can specify a constant strength or vary the strength over time. See Varying properties over time. |
Multiply Drag by Size | Adjust the drag based on the size of the particles. |
Multiply Drag by Velocity | Adjust the drag based on the velocity of the particles. |
Vector Field | |
Volume Texture | The texture of the vector field. |
Speed | The speed multiplier to apply to particles traveling through the vector field. The higher the value, the faster the speed. You can specify a constant strength or vary the strength over time. See Varying properties over time. |
Attraction | The strength at which Unity drags particles into the vector field motion. The higher the value, the greater the attraction. You can specify a constant attraction or vary the attraction over time. See Varying properties over time. |