I using python to create an custom particlesystem extend from ParticleSystem
in Rhino,
when I using Remove
method to remove the particle in my custom particlesystem when the particle was exipre, However it not work, and the size of particle in particleSystem was not decrease . the python code is follow:
#self is reference to custom particle
def Update(self):
for p in self:
if not IsDie():
p.Update()
else:
# it not work , the number of particle in particlesystem not decrease
self.Remove(p)
1 post - 1 participant