Random Seed
Sets the random seed so a procedural variation can be reproduced.
Boids-style flock behavior
Creates flocking behavior with follow, attraction, repulsion and spacing controls so particles move like a coordinated group.
pFlock is designed for swarm and boids-like motion where each particle reacts to its neighbors instead of moving independently.
Overview
pFlock is designed for swarm and boids-like motion where each particle reacts to its neighbors instead of moving independently.
Think of a school of fish: particles try to remain part of the group while also respecting attraction, repulsion and spacing rules.
Flow anatomy
The port structure shows how this node fits into a Fusion graph.
Incoming particle stream from pEmitter, pImageEmitter, pMerge or another particle node.
Optional region or mask that limits where the operation affects particles.
Processed particle stream for additional particle tools or pRender.
Inspector
Start with these controls before reaching for more complicated workarounds.
Sets the random seed so a procedural variation can be reproduced.
Sets the random seed so a procedural variation can be reproduced.
Locks procedural randomness to time so the same frame evaluates consistently.
Controls flock grouping/behavior configuration.
Controls how strongly particles align with the group direction.
Pulls particles toward nearby group members.
Pushes particles away when they become too close.
Defines preferred neighbor spacing.
Uses particle sets to define flock membership.
Sets a limit for the working range.
Chooses which particle sets are affected by this operation.
Sets the probability that this particle operation is applied.
Sets the particle-age range affected by this operation.
Particle age is measured over the particle lifetime; use the start and end values to limit where the behavior becomes active.
Selects the Set Mode used by pFlock.
Restricts flocking to a spatial area.
Selects the particle region type.
Chooses the geometric region used by the particle operation.
Practical setup
Start with a sparse emitter.
Add pFlock before pRender.
Tune preferred spacing.
Balance Follow, Attract and Repel strengths.
Increase particle count only after the flock is stable.
Examples
Dots move as a coordinated cloud with controlled spacing.
Particle sets create separate flocking behavior inside one system.
Troubleshooting
Production notes
Related nodes