Hello, regarding the operator filters, I get the impression that comparing custom properties isn’t working right now.
I apologize if I’m using them incorrectly.
05-05-2026, 01:05 PM (This post was last modified: 05-05-2026, 01:05 PM by tyFlow.)
I don't see any issues in the file. Here's an explanation for the behavior you're seeing:
Operator filters apply to particles affected by the operator - this is true for the Set Target operator as well. It affects which particles will have their target set, not which particles will be targeted. Your filter as it stands doesn't make sense, you're comparing the value of the "z" channel on your input particles to itself, with a "less" condition - since a value is never less than itself, the condition is never satisfied, Because the condition is never satisfied, no target is ever set on the single particle in Event_002 - however, by sending the particle with the Set Target operator, its "target" channel is still initialized, and the default value of all channels is always "0". Since, in this setup, a particle with an ID of 0 also exists, this implicitly sets the target of the particle to the particle with an ID of 0 - which is why you see the line drawn to it.
If you place a Custom Properties operator above the Set Target operator and set the "target" channel to -1, you'll see no target is ever set explicitly by the Set Target operator.
(05-05-2026, 01:05 PM)tyFlow Wrote: Oh, you're right. Sorry, for some reason I mistakenly thought I could filter particles by comparing the custom property values of particles in Event 2 with those in Event 1.
Is there a way to have individual particles compare their custom property values with those of other particles and execute an operation, other than using C#?
I don't see any issues in the file. Here's an explanation for the behavior you're seeing:
Operator filters apply to particles affected by the operator - this is true for the Set Target operator as well. It affects which particles will have their target set, not which particles will be targeted. Your filter as it stands doesn't make sense, you're comparing the value of the "z" channel on your input particles to itself, with a "less" condition - since a value is never less than itself, the condition is never satisfied, Because the condition is never satisfied, no target is ever set on the single particle in Event_002 - however, by sending the particle with the Set Target operator, its "target" channel is still initialized, and the default value of all channels is always "0". Since, in this setup, a particle with an ID of 0 also exists, this implicitly sets the target of the particle to the particle with an ID of 0 - which is why you see the line drawn to it.
If you place a Custom Properties operator above the Set Target operator and set the "target" channel to -1, you'll see no target is ever set explicitly by the Set Target operator.