Set Target operator

The Set Target operator automates the assignment of the birth ID of one particle to a custom data channel of another.

Think of setting a target as a way to tell one particle to focus on another. The “target” is merely the birth ID of another particle in the flow. Many operators allow you to use that target ID in various ways. For example, you can tell particles to bind to their target in a Particle Bind operator, or chase their target in a Find Target operator, etc.

Use a Display Data operator to view which target IDs have been assigned to which particles, or to draw a line between particles and their targets in the viewport.


Set Target Rollout

  • Mode: the method to use to assign particle targets.

  • Channel: the custom data float channel to assign target IDs to.

  • Only set target if current target invalid: particles with a valid (non-deleted) target will not have their target set.

Uniqueness

  • Seed: the seed value for all varied parameters.

Filters Rollout

Events

  • All events: all particles in the flow will be considered for targeting.

  • This event only: only other particles in the event will be considered for targeting.

  • Exclude this event: only other particles in other events will be considered for targeting.

Simulation Groups

  • Simulation groups: controls which particle simulation groups will be targeted.

Clusters

  • Enable clustering: controls whether target candidates will be determined by cluster values.

  • Channel: the particle data channel to get cluster values from.

  • Cluster if equal: target candidates must have equal cluster values.

  • Cluster if equal: target candidates must have unequal cluster values.

Family

  • Target all/siblings/non-siblings: controls whether targets will be filtered by their familial relationships.

Raycasting

  • No raycasting/hit/no hit: controls whether targets will be filtered by a raycast against the defined object list.

  • Object list: the list of objects to raycast against, when raycast filtering is enabled.

Angle

  • Filter by angle: controls whether targets will be filtered by their angle to one another.

  • Perpendicular/parallel: controls whether targets will be filtered based on their perpendicular/parallel angle to a given axis.

  • Thresh: the threshold to the desired angle within which particles will pass the angle filter.

  • World Z-Axis: the world z-axis (0,0,1) will be the reference vector to which angles will be computed.

  • Object Z-Axis: the local z-axis of a defined object will be the reference vector to which angles will be computed.

  • Object: the object from which to derive the local z-axis.

Neighbors Rollout

  • Absolute closest: the closest particle will become the target candidate, regardless of distance.

  • Select within distance: all neighbor particles within a given distance will be target candidates.

  • Consider particle shapes: the vertices of particle shapes will be considered during the neighbor search, allowing for more accurate neighbor detection. If this setting is disabled, only particle positions will be considered.

  • Distance: the maximum distance between neighbor particles in order for them to become target candidates.

Neighbor selection

  • Random: a random particle will be chosen from the list of neighbor candidates as the target.

  • Closest: the closest particle will be chosen from the list of neighbor candidates as the target.

  • Furthest: the furthest particle will be chosen from the list of neighbor candidates as the target.

  • Largest surface area: the particle with the largest surface area will be chosen from the list of neighbor candidates as the target.

  • Smallest surface area: the particle with the smallest surface area will be chosen from the list of neighbor candidates as the target.

Siblings Rollout

  • Sibling type: controls which siblings will be considered particle target candidates.

Value Rollout

  • Static: a specified value will be used as the target ID.

  • Value: the specified target ID Value.

  • Random: a random value within a min/max range will be used as the target ID.

  • Min/Max: the min/max range from which to choose a random target ID.

  • Birth ID: a permutation of each particle’s own birth ID will be used as the target ID.

  • Offset: the amount to offset each particle’s own birth ID.