while ParticleEmitter emitting how can i change color?I just want to let particle while everyone emitting,they have random color.But I don’t know to do!!!
Archive 19/01/2023.
While ParticleEmitter emitting how can i change color?
tianlv777
tianlv777
SirNate0
Are you trying to get the random colors or make them all the same color?
tianlv777
get random colors…
get random colors…
tianlv777
get random colors…
get random colors…
SirNate0
I may be wrong, but I don’t think there is a way to do it nicely in Urho. This is one of the many limitations I find in the particle system.
My suggestion would be to just copy the whole class and edit your
RainbowParticleEmitter
class to randomize particle color in addition to the position and scale and such.
tianlv777
thank - -,Ithank - -,Ithank - -,Ithank - -,Ithank - -,I