tyFlow Forum
What are Siblings? - 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: What are Siblings? (/thread-1299.html)



What are Siblings? - ThirdDimension - 11-22-2019

I can't understood what are particle Siblings? Are siblings assigned to particles when they are created?

Also some Birth operators start particles with ID0 others with ID1. Should they start all from 0's?


RE: What are Siblings? - tyFlow - 11-22-2019

If particle A spawns particles B, C, D, then particle A is the parent of B, C, D and B, C, D are all siblings. It's not different than a family relationship in real life (ex, your parents gave birth to you and if you have siblings they gave birth to those children as well and all their children exist in a sibling relationship), and it's nothing more than a way to organize and maintain particle hierarchies.

Some birth operators create implicit particles (which use IDs) in order to maintain sibling and parent/child relationships between the particles they create. For example, Birth Spline will create an implicit particle for the spline (ID 0), of which all the actual particles generated are set as children (so that they can also be considered siblings, which can later make it easier to bind them together in order, etc). Since parents within tyFlow are stored simply as birth IDs within child particles, that is why certain Birth ops will "steal" the first ID for that purpose.


RE: What are Siblings? - ThirdDimension - 11-22-2019

Thank you for detailed explanation!