Hello,
we have a following use case: we have an exandable SPS whose shapes need to be generated dynamically on the fly. We also have 1 invisible dummy particle that we dont need but I understand this is the current limitation of SPS as per documentation: Important note: the SPS must contain at least one particle to work, so never empty it completely !
Now during the runtime sometimes we need to remove all the particles (except the dummy one), generate a new shape and add some new particles with this shape: the following playground demonstrates this use case and an unexpected behaviour that I believe might be a bug?
The scene starts with a single invisible particle - which is correct - and then when you click anywhere in the scene, old particles (if any) except the dummy one get removed, new particles get generated BUT for some reason the dummy particle becomes visible, its position resets to 0,0,0 and there is nothing i can do to hide it anymore
Does anyone know if this is a bug? As an alternative we could just dispose the whole SPS and create it anew each time we need to generate new shapes, but isnt that an unnecessary overhead?
Thanks!