Click or drag to resize
DigitalRuneFAQ

Here is a collection of frequently asked questions, common problems and solutions.

This topic contains the following sections:

How can I remove/kill a particle?

In the ParticleEffector read the NormalizedAge parameter. If the normalized age >= 1, then the particle is dead and will be ignored. To kill the particle, set NormalizedAge parameter to 1 (or higher) in the ParticleEffector. If you kill a particles out of order, i.e. the array contains [..., living particle, living particle, dead particle, living particle, ...], the dead particle stays in there until all previous particle are dead. That's why the ParticleEffector should check whether normalizedAge >= 1.

How can I control the alpha of particles with a global value that affects all particles, e.g. to fade out the whole effect?

This is explained in the particle samples of the Samples solution. See sample 10-Teleport.