Page 3 of 3

Re: Switch layer in a particle layer

Posted: Mon Nov 17, 2025 2:02 pm
by hayasidist
Greenlaw wrote: Mon Nov 17, 2025 11:08 am Okay, one more test before I go: I cranked the lifetime up to 400 frames, and sure enough, the layer order changed at around frame 400, when the first particle dies. Not sure why the following particles dying don't affect the order.
I'm firmly in the realms of guesswork here, so take everything I say next as "I'd probably have done it that way" rather than "that's how it is" (and by all means, please correct me!)

My hypothesis: Create as many shapes as the particle count for each particle "sublayer" - let's stick to one particle type and a particle count of 5 -- so you'll get shapes S1, S2, S3, S4, S5 - and they will stack in that order, with S1 at the bottom. Have them hidden somewhere.
When the particle system starts, display them (and move them) in sequence, S1, S2.... and that explains the initial overlap (just as you'd get in a moho vector layer with 5 shapes created in that order and each slightly displaced from one another.)
S1 now comes to the end of its journey, so it goes back to the "hidden" state. When it's time for it to reappear, it comes back - and it's still at the bottom of the stack, so looks to be under S5; then S2 comes to its end, it reappears above S1 etc etc etc...

Re: Switch layer in a particle layer

Posted: Tue Nov 18, 2025 1:17 pm
by Pierre Gombaud
Wow, this post kind of blew up, haha!
There is a lot of great advices and technics, thank you for that, guys! I'll give another try at it this week end.
Particles is an even more fascinating subject in Moho with you all

Re: Switch layer in a particle layer

Posted: Tue Nov 18, 2025 2:08 pm
by Greenlaw
Pierre Gombaud wrote: Tue Nov 18, 2025 1:17 pm Particles is an even more fascinating subject in Moho with you all
I'm very excited about Moho particles thanks to your experiments, Pierre! Keep up the fantastic work! 😸