![]() |
Prevent duplicate assignment - not working - Printable Version +- tyFlow Forum (https://forum.tyflow.com) +-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html) +--- Forum: Bugs and Issues (https://forum.tyflow.com/forum-3.html) +--- Thread: Prevent duplicate assignment - not working (/thread-4915.html) |
Prevent duplicate assignment - not working - Booclay - 08-22-2025 I'm trying to animate particles to all the vertexes on a set of meshes. Each mesh has the same amount of vertexes (482). I've made an event for each mesh and bound the particles to each, and applied a unique 'group' to each event. I'm then using set target in a different event to move 482 particles to the first shape, then the second by using the 'target filters' of the two groups. I've found that there seems to be a bug with the 'Prevent duplicate assignment' within 'set target' as you can see for this image, I get some particles targeting the same one and nothing on others. Anyone know of a way to sort this issue, or is it a known bug? Many thanks Scene attached (max 2026) RE: Prevent duplicate assignment - not working - tyFlow - 08-23-2025 The "prevent duplicate assignments" option only prevents duplicates during the assignments on a particular time step. In other words, if you assign targets to particles A/B/C on frame 0, they won't have duplicate assignments. But if you assign targets to particle A on frame 0, particle B on frame 1, and particle C on frame 2, they can still have a duplicate assignment even with that option enabled because their assignment time steps are different (the duplicate checker only checks for duplicates within the group of particles currently being affected on the particular time step). In your flow, your Time Test has frame variation, so they're not all moving to the next event on the same frame, hence the assignments are happening on different time steps. A potential solution might be to assign on the same frame, then send out from that assignment event to the Find Target even with some variation. RE: Prevent duplicate assignment - not working - Booclay - 09-15-2025 (08-23-2025, 12:27 PM)tyFlow Wrote: The "prevent duplicate assignments" option only prevents duplicates during the assignments on a particular time step. In other words, if you assign targets to particles A/B/C on frame 0, they won't have duplicate assignments. But if you assign targets to particle A on frame 0, particle B on frame 1, and particle C on frame 2, they can still have a duplicate assignment even with that option enabled because their assignment time steps are different (the duplicate checker only checks for duplicates within the group of particles currently being affected on the particular time step). Ok yeah I understand. I've changed the set target to a specific frame and now that seems to be working well. Thank you. |