The particles follow the surface of an object: drawn into a layer around it, held there, crawling, sliding or wrapping over it.
What it is for
Energy auras, dust or light streaming down a statue, a skin of particles that hugs a silhouette. Reach for it when the particles must stay on or around an object instead of bouncing off it.
How it works
The shape of the object is computed once, in the background, as a distance field (the same computation as Collide Object); until it is ready the node does nothing. Moving, rotating or scaling the object is followed live. For each particle the node knows the distance to the nearest surface and its direction. It defines a layer at Distance from the surface, Thickness wide. A particle within Reach of the layer is pulled into it (Strength). Close to the layer, three motions along the surface are added: Crawl (swirls), Slide (towards a direction) and Wrap (around an axis). Finally Hug edits the sum of all the forces of the system: it removes the part that would take the particle off the layer, so the other forces move it along the surface.
Connections
Pick the object (or a collection) on the node and connect Flow to the Flows input of a Particle System. The Distance output gives each particle's distance to the surface (negative inside the object): link it to the system's Attribute input to colour by closeness.
Settings
| Setting | What it does | Default |
|---|---|---|
| Strength | How fast the particles are pulled into the layer: the pull grows with the gap to the layer, up to 2 x Strength. Low = they settle slowly; high = they snap onto the surface. | 3 |
| Distance | How far from the surface the layer sits, in units. 0 = on the skin of the object; more = an aura that follows its silhouette. Negative values count as 0. | 0.03 |
| Thickness | Width of the layer, in units. Inside it the particles are not pulled: thin = a crisp shell, thick = a fuzzy coat. | 0.04 |
| Reach | How far from the layer the particles are captured. Beyond it the node leaves them alone. Hug, Crawl, Slide and Wrap fade out over half this distance past the layer. | 1 |
| Hug | 0 to 1. How firmly the particles are kept in the layer against the other forces (Turbulence, Wind, Gravity...): the part of those forces that points away from or into the surface is removed, so they slide the particles along it. 0 = the other forces can tear them off; 1 = fully held. | 0.8 |
| Crawl | Speed of the swirls that make the particles wander over the surface. These swirls stay on the surface and are built so the particles do not bunch up. Their pattern changes slowly on its own. | 0.4 |
| Crawl Size | Size of the swirls of Crawl, in units. Small = fine, busy motion; large = broad currents over the object. | 0.6 |
| Slide | Speed at which the particles run along the surface towards Slide Direction. Where the surface faces that direction they slow down, where it runs along it they are fastest. Negative = the opposite way. | 0 |
| Slide Direction | Direction of the Slide, in the system's space. Down (0, 0, -1) by default: the particles stream down the folds. Its length multiplies the Slide speed. | 0, 0, -1 |
| Wrap | Speed at which the particles circle the object around Wrap Axis, staying on the surface. Negative = the other way round. | 0 |
| Wrap Axis | Axis the Wrap turns around, in the system's space. Z by default. Its length does not matter. | 0, 0, 1 |
| Source | Object: follow the surface of one object. Collection: follow the nearest surface among the objects of a collection (up to 8, the biggest first).
| |
| Precision | Resolution of the computed shape, 8 to 128. Higher = finer details are followed, slower to compute. The same object at the same Precision as a Collide Object is computed only once. | |
| Fill Hollow Shapes | On: closed hollow objects count as solid, so the layer follows the outer surface only. Off: the inner walls of a hollow object attract particles too. | |
| Object | The object to follow (mesh, curve, surface, text or metaball). Shown when Source is Object. | |
| Collection | The collection to follow. Shown when Source is Collection. |
Outputs
Flow, Distance
Tips
- Energy Aura preset: an Emit Mesh on the same object, then Strength 4, Hug 0.9, and for an object about 1 unit across: Distance 0.02, Thickness 0.02, Reach 0.3, Crawl 0.25, Crawl Size 0.12 (the preset scales these five with the size of the object).
- Do not combine it with a bouncing Collide Object on the same object: the field pulls the particles in and the collider throws them back. Set the collider's Bounce to 0.
- Add a Scene Depth effect so the particles behind the object are hidden.
- To colour by Distance, pass it through a Map Range first: the Attribute colour mode reads 0 to 1 along the ramp.