@nathanjwtx said:
I was indeed just toggling visibility but toggling the emitting property didn't seem to make the problem go away.
Hmm, well I guess that means the issue is most likely something more complex then.
Do I need to update the particle starting position as part of the toggling code?
Good question. It is worth a shot, if nothing else than just to see if it changes anything. Worse case it doesn't fix anything and all you need to do is remove the code for updating the starting position.
If your code is running in _process
, you could try maybe moving it to _physics_process
and maybe that will make a difference? Perhaps the particles node updates not every _process
call, but rather every _physics_process
call?
I wish I knew more, but my Godot particles knowledge is a little limited. :sweat_smile: