tyFlow Forum
birth a group of particles - Printable Version

+- tyFlow Forum (https://forum.tyflow.com)
+-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html)
+--- Forum: General Discussion (https://forum.tyflow.com/forum-2.html)
+--- Thread: birth a group of particles (/thread-1187.html)



birth a group of particles - joe_coke - 10-09-2019

anyway to birth from another flow a group of particles and keep their posiition relative to each other? I have 5 particles spawned on a pentagon in one flow and want to birth that into another to a surface to run along and look like bundled cables.


RE: birth a group of particles - tyFlow - 10-09-2019

You can apply a general position offset with a Spread operator, after using Birth Flow to merge flow#1 into flow#2.

If the relative position cannot be achieved with a Spread operator, you'll need to use a more complex setup with a Script operator to transfer relative surface locations by saving the nearest face index and barycentric coordinates to custom data channels, then using those measurements to determine where on the second surface particles should be placed.


RE: birth a group of particles - joe_coke - 10-09-2019

(10-09-2019, 02:42 PM)tyFlow Wrote: You can apply a general position offset with a Spread operator, after using Birth Flow to merge flow#1 into flow#2.

If the relative position cannot be achieved with a Spread operator, you'll need to use a more complex setup with a Script operator to transfer relative surface locations by saving the nearest face index and barycentric coordinates to custom data channels, then using those measurements to determine where on the second surface particles should be placed.

Ah i see, thanks.  Oh how about restricting the growth operator to the x&y axis?


RE: birth a group of particles - tyFlow - 10-09-2019

You can use a Limiter operator to restrict particle positions/velocities however you like Smile