...
This field becomes active when “Condition” is set to “Expression”. RealFlow|Cinema 4D constantly checks against the given expression during a simulation and decides whether the condition is fulfilled or not. There is a long list of keywords that can be used to create a certain condition:
Attribute | Expression keyword |
---|---|
Age |
|
Collision |
|
Density |
|
Force |
|
ID |
|
Position |
|
Velocity |
|
An example: Let's assume you want to filter the particles from “Fluid.1” against the particles' velocities:
If a particle' speed is lower than 2.0 the particle should be attached to “Fluid.2”:
- Source > Fluid.1
- Target Emitter (True) > Fluid.2
- Condition > Expression
- Under “Expression” enter:
particle.speed < 2.0
You can use any other keyword from the table and modify the expression to your needs. It is also possible to combine expressions, e.g.
...
Expressions cannot be evaluated at the moment because of an internal bug. Please accept our apologies.
Split
When the given condition is fulfilled RealFlow will create additional particles – their number is defined under “# child”.
...