VecFlow0.1.0
FlowsOperators

Delete

Remove particles when they reach an age, since birth or since entering the event; or at once, for particles sent to an event to vanish.

VecFlow 0.1.0

Remove particles at an age (since birth, or since entering this event), or at once.

Add it
EventAdd OperatorLooksDelete
Sends on
Nothing: it has no wire.
Influence
Yes: it works only on particles whose value is above a half.

When to use it

  • A lifetime: sparks that last a second and a half, give or take; snow that melts some seconds after it lands.
  • At once: with Age 0, in an event of its own, particles sent there vanish the step they arrive. Wire a test to it to remove the particles that hit the floor, stray too far, or slow down.

Removing particles you no longer see keeps the bake fast and the cache small.

Set it up

Rain: drops that hit the ground go to Gone and vanish; any still falling at 4 s are removed too.BirthForcesPhysicsLooksTests

Settings

As the flow editor’s sidebar shows them. Changing any of them marks the bake old; those marked Keyframable can also change through a bake.

Age
Keyframable
3 s0 to 30

How old particles must be, in seconds.

Variation
Keyframable
0 s0 to 10

Random difference, either way.

Birth

Which clock the age is counted on.

  • Birth: Age since the particle was born.
  • Entering: Time since it entered this event.
InfluenceEmpty

One of the flow’s number values, to weigh it by, particle by particle. Empty for all of it, on all of them. See Influence.

Age and Since

Since Birth counts each particle's age from when it was born, however many events it's been in. Since Entering counts from when it entered this event, so it means “this long after it got here”.

Variation is give or take, each particle its own: Age 1.5 with Variation 0.5 removes them between 1 and 2 seconds. Particles are removed at the end of the substep in which they reach their age, so none is ever older.

Works with

  • Tests in the same event: a Delete above a test removes particles before the test sees them. A test above a Delete sends particles on before they're removed. See How order and mixing matter.
  • Whitewater: each kind's event needs a Delete. The Liquid panel's Fade Out shrinks the points before it takes them, by its age since birth.
  • Influence: weighed by a value, only particles whose value is above a half are removed.

Problems you may see

The editor raises no problems of its own for Delete.

On this page