effekseer / EffekseerForGodot3

MIT License
133 stars 9 forks source link

Issue with multiple instances of EffekseerEmitters #13

Open alpha-157 opened 1 year ago

alpha-157 commented 1 year ago

There is an issue when having multiple instances of the same particle effect spawned at the same time/shortly after another. As soon as a new particle emiter spawns, the old Effekseer-Emitter (which should continue playing) gets reseted and doesn't finish playing. I tried to prevent this by activating the property "local to scene" under the "resources" section of the EffekseerEmitter. But that doesn't help. Simply duplicating (in script) the particle file (.efkecf file) / the scene with the EffekseerEmitter atached doesen't work either. To sum up: I am unable to spawn unique and independant Effekseer-Emiters. There is a video for illustration atached.

https://user-images.githubusercontent.com/82902572/207884344-24fdbbdd-bbac-4da2-a6be-5207d55b327b.mp4

ueshita commented 1 year ago

It may be that the instance pool is exhausted. Can you try increasing the "Instance Max Count" number to see if that solves the issue? image Thanks!