Game Development Reference
In-Depth Information
9. If we take a look at the birds now, they still just float in space. This is very
unbird-like.
10. Let's scroll down a bit to the
ParticleInfluencer
class. The
ParticleInfluencer
class has an opportunity to alter a particle's velocity
when it's created, decreasing uniformity. The
DefaultParticleInfluen-
cer
class can set an initial velocity, and a variation, from 0 to 1.
11. Set the
InitialVelocity
parameter to
3.0, 0.0, 0.0
and the
Velo-
cityVariation
to
1.0
to give the particles some individuality.
12. To make the birds look in the direction they're flying, check the
Facing Velocity
box.
Tip
New settings won't take effect immediately, but only when a new particle is generated. If
you want to speed up the process, click on the "
Emit All
" button to emit all the new
particles with the new settings.