Alchemist0823 / three.quarks

Three.quarks is a general purpose particle system / VFX engine for three.js

Home Page:https://quarks.art

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage of ``ParticleSystem.emit``

marwie opened this issue · comments

Hello,

I have a case where I have a one-shot effect with a duration of 1 and not looping. I still want to be able to call emit on this effect and have the system emit the provided amount of particles that frame. Currently the internal emitEnded flag prevents that.

What would you suggest on how to make this still work and force it to emit particles?

Here's a short video where I set emitEnded to false before calling emit in a 1 sec interval

20221111-124820_Made_with_Needle_-_Google_Chrome.mp4

the system is setup like this:
image

Thanks for asking. Will look into this

I removed emitEnded check before spawn method

Fixed in commit 89eee18