While this works, it's a pain to set up for the production scene.
The reason is the way I limit the amount of blue particles that can be linked to the green ones.
Its collision based.
The radius for the set target is smaller than a particle, so as soon as a particle is linked, its radius will prevent other particles from getting in the set target radius. But that's quite error-prone since it depends on the time steps and particle shape.
When the set target radius is too small I get empty green particles. If it's too big on the other hand, I get multiple linked blue particles per green particle.
And I always have to sim quite a bunch of frames to test if I hit the sweet spot.
Is there a way to limit the amount of linked particles per parent particle to one? That would make everything much easier!
And another Question: When I use PhysX particles with this setup. Do I have to raise the time steps or the PhysX substep to ensure the collision is called often enough to prevent other particles from geting in the set target radius?
EDIT: I can't make it work with physx: Either I get empty green particles or more than one in one . At least I have a fallback with none-regular particles.
The reason is the way I limit the amount of blue particles that can be linked to the green ones.
Its collision based.
The radius for the set target is smaller than a particle, so as soon as a particle is linked, its radius will prevent other particles from getting in the set target radius. But that's quite error-prone since it depends on the time steps and particle shape.
When the set target radius is too small I get empty green particles. If it's too big on the other hand, I get multiple linked blue particles per green particle.
And I always have to sim quite a bunch of frames to test if I hit the sweet spot.
Is there a way to limit the amount of linked particles per parent particle to one? That would make everything much easier!
And another Question: When I use PhysX particles with this setup. Do I have to raise the time steps or the PhysX substep to ensure the collision is called often enough to prevent other particles from geting in the set target radius?
EDIT: I can't make it work with physx: Either I get empty green particles or more than one in one . At least I have a fallback with none-regular particles.