Last update: v1.10.0 - Main page : Particle evolvers
The attractor evolver turns custom shapes into gravity sources for particles to be attracted to.
It does not perform any dynamics computations, it only stores the force to apply on the particles inside a custom field, to be used by the Physics evolver.
Usually, the attractor evolver will be used inside a Localspace evolver
The attractor evolver will automatically create the following particle fields:
|Name||Type||Footprint||TransformMode||self access to field|
|name in 'ForceField' property||float3||16 bytes||Rotate||read/write|
The attractor evolver will modify the following particle fields:
- the field referenced in the 'ForceField' property
IMPORTANT: The attractor evolver will actually OVERWRITE the output 'ForceField', and will not accumulate inside it, so if you need to use multiple attractors, you'll need multiple intermediate force fields, and add them together inside a script.
IMPORTANT: you must make sure the physics evolver use the same input
'Force' field as the attractor.
For example, if you rename the default
'ForceField' property from
"MyAttractionForce", the attractor evolver will create a new particle field named
"MyAttractionForce", but the physics evolver will still look for a "Force" field, therefore you must also go into the physics evolver and change its own
'ForceField' property to
Here is a sample of the attractor evolver running on a shape collection containing a small cube with a large mass, and a large capsule with a small mass: