Hello everyone. I am a newcomer to Houdini and as a programmer in my heart, I fell in love with Houdini immediately!
I am trying to do some particle simulations. I have a POP replicate node to create trails for my primary particles. I don't want to inherit any attributes, but I cannot get new particle life to work. It just ignores any life expectancy parameters I have set and always uses 100.0. If i turn on inheritance, then it inherits parent particle life as expected. Is this a bug?
As an additional question - how do I modify particle life later in my network?
For temporal fix (if you don't need inherit life attribute from source) Allow editing of contents of pop replicate and go into: /obj/AutoDopNetwork/popreplicate1/sopsolver1/setup_life1 and disconnect bind1 (life) is_bound (blue boolean) output from toway1 condition input (That way it doesn't check if life attribute is inherited and always set it from point replicate Life parameter instead).
You can modify life (or any other attribute) later for example with pop wrangle and using this code: @life = 1000;
Thanks!! Seems like particles always have default @life attribute even if it is not inherited (Copied by Point Generate node deeper in the network). Therefore the setup_life node is not correct.
This should be fixed in tomorrow's daily build, along with a couple of other POP Replicate issues:
Fixed several issues with POP Replicate: The Use Inherited Velocity setting was resulting in zero initial velocity. The lifespan of replicated particles was always inherited from the source particles; now it is always set from the Life parameters. Finally, the Inherit Velocity parameter was being applied twice, so its effect was squared. This has been corrected. Use the square of your current values to match existing simulations.