Hello everyone,
I have the same question as the question posted in this thread. I've been searching and searching to find a way to change the current time of an SCNParticleSystem so that I can render it offscreen into a video that I'm making. Since the video frames are rendered asynchronously and the time between each frame render isn't necessarily 1 frame time (1/60) seconds, the video output of the particle system doesn't look smooth because the SCNParticleSystem follows the current system time when being rendered.
I already tried to set the sceneTime but the particle system doesn't follow the scene time since it uses the system time source
I also tried to use the answer provided in the other thread with the code
but it didn't work because every time I reset the particle system, it despawned the current particles on the screen and spawned a completely different layout of particles.
I was wondering if there is a way that I can change it so that I can tell the particle system to render the particles at a specific time.
Thanks in advance!
I have the same question as the question posted in this thread. I've been searching and searching to find a way to change the current time of an SCNParticleSystem so that I can render it offscreen into a video that I'm making. Since the video frames are rendered asynchronously and the time between each frame render isn't necessarily 1 frame time (1/60) seconds, the video output of the particle system doesn't look smooth because the SCNParticleSystem follows the current system time when being rendered.
I already tried to set the sceneTime but the particle system doesn't follow the scene time since it uses the system time source
I also tried to use the answer provided in the other thread with the code
Code Block particleSys.warmupDuration = timeYouWant particleSys.reset()
but it didn't work because every time I reset the particle system, it despawned the current particles on the screen and spawned a completely different layout of particles.
I was wondering if there is a way that I can change it so that I can tell the particle system to render the particles at a specific time.
Thanks in advance!