Attempting a perfect loop for particle system
I need a perfectly looping particle system - i.e. the state of the particle system at the end of the duration is exactly the same as the start, so if it were recorded for instance, the video would play as a perfect loop.
I have turned off auto random seed, and have tried setting a seed in code and in the inspector but it still is not looping perfectly.
Any ideas?
Answer by FortisVenaliter · Apr 21, 2017 at 04:13 PM
Having any randomness, even setting the random seed yourself, will cause it to not loop.
The only way I can think of to do this would be to pre-compute the loop of particle emissions, and play them from code manually using the Emit function. You'd then have to stitch it together by ensuring your pre-computed loop is the length of the loop less the length of the particle lifetimes, so it overlaps a bit.
Hmm, that seems really not something I want to do
This is really strange seeing as the Unity manual specifically states that assigning a random seed will make sure the particle loops exactly.
Cheers for the response!
Answer by AllOfM · Apr 26, 2018 at 04:21 AM
Any success with the problem?
I'm also interested to find a way for that?