i have a pop network and after the hit of the particle with a surface(popattrackt and popcollisiondetect by id ) i want that the point with the same id on the surface changes its attribute - but somehow i dont get it working by vex:
if (@stuck > 0) {setpointattrib(1, "shown", @id, 1);
}
1 -> the secondary context geometry “shown” -> the attribute i want to change - to one
did i do something wrong or isnt that even possible or do i have to reference the surface geometry after the merge with the pop network?
but maybe you're looking for attribute transfer to tranfer the “hit” from the particle to the surface, then the collision surface id is not the particle id.
but maybe you're looking for attribute transfer to tranfer the “hit” from the particle to the surface, then the collision surface id is not the particle id.
to do this, you need “attribute transfer” node.
but is it possible to get all points by another attribute - and then by another …. in vex - something like: