Particles.DetachParticleTypes()
Posted on Sat, 2012-02-04 07:29
I want to detach particles then attach new particles to an emitter.
The point is that particlestype names are the same : I want to detach particles1, then create a new particles1 type.
I obviously get this console message :
"
--> Particles.RemoveParticleType(): REMOVED 1 PARTICLE TYPE(S) FROM EMITTER 'EP'.
!!! Particles.CreateParticleType(): PARTICLE TYPE 'Particles1' NOT CREATED - (ALREADY EXISTS)! NAME MUST BE UNIQUE.
"
I don't want to create a new particletype, since particlestypes are randomly generated through time.
How should I do then ?