Table of Contents

The linear particle animator give particles the ability to move. It adds an integration step which allows particles to have some physically based motion. The LinearParticleAnimator component is required to generate particles and and to move them.

(NOTE)Where to set particle velocity? Properties relating to velocity are not found on the LinearParticleAnimator, but are instead on the emitter component. The reason for this property placement is that all properties on the emitter component are applied when a particle is created, whereas the properties from LinearParticleAnimator are applied every frame.

Forces

Both Force and RandomForce are used to apply forces to a particle. The force will effect the velocity, which in turn effects the position of each particle. If the RandomForce defines the half-vector for a bounding box, then the random component of this frames Force is confined to this box.

ParticleSystems_RandomForceDiagram Debug Drawing the SpriteParticleSystem's bounding box(orange), the LinearParticleAnimator's RandomForce halfvector(white), and the bounding box for the values RandomForce can generate(blue)

NOTE: Torque , Dampening , and Twist forces are also available.

Growth

The Growth property can change the size of particles over time. Set Growth to a positive number to make it grow, and a negative number to make it shrink.

ParticleSystems_Growth

Related Material

Manual

Code Reference