...
Attribute | Expression keyword |
---|---|
Age |
|
Collision |
|
Density |
|
Force |
|
ID |
|
Mass |
|
Neighbors |
|
Normal |
|
Position |
|
Pressure |
|
Temperature |
|
Texture |
|
Velocity |
|
Viscosity |
|
Vorticity |
|
Emitter Id | particle.emitterid |
An example:
Let's assume you want to filter the particles from “Square01” “Domain01” against the particles' velocities:
If a particle' speed is lower than 2.0 the particle should be attached to “Container01”“Domain02”
Source Emitter > Square01
Target Emitter (True) > Domain02
Source > Container01Domain01
Condition > Expression
Under “Expression” enter:
particle.speed < 2.0
...
With “Yes”, the particles inside the daemon's bounding box will be affected; “No” only filters the particles outside this box.
Random percent
This is the probability of a particle to be filtered when it satisfied the filter condition. Higher values mean that more particles will be filtered.
Random seed
Change the random number generator's initialization. All positive and negative integers are accepted.
Random per frame
If enabled, a particle, that has not been filtered because of it's probability value, will not be filtered during the current frame as well. Otherwise, the random particle tested will be performed with every simulation step.
Reset Age
When active, the filtered particles' age will be set to 0. Otherwise the age value of the original particle will be used.
Keep Source Particles
This option is suited for the creation of trails, for example. It should only be used with → "Dumb" particles or "Override Target" set to "Yes". Otherwise you might see instabilities and particles explosions.
Override Target (True)
This feature is needed when you work with emitters in cache mode, the "Binary Loader" or the "NBinary Loader". These “emitters” are cleared with each frame and load new particles from already saved BIN files. Using them as source emitters will lead to instabilities, because the particles are not moved, but simply copied. If you also clear the target emitters with each step, you can avoid these problems. Please note that the result with this mode might slightly differ from the original simulation of the source emitter. Here, the target is only overwritten when the given "Condition" is fulfilled.
...