Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

particle.age, particle.isolation

Collision

particle.collision

Density

particle.density

Force

particle.force.mod, particle.force.x, particle.force.y, particle.force.z, particle.f.mod, particle.f.x, particle.f.y, particle.f.z

ID

particle.id

Position

particle.pos.x, particle.vel.y, particle.vel.z, particle.position.x, particle.position.y, particle.position.z

Velocity

particle.speed, particle.velocity.x, particle.velocity.y, particle.velocity.z, particle.vel.x, particle.vel.y, particle.vel.z

 

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”.

...