tianlv777
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!!!
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!!!
Are you trying to get the random colors or make them all the same color?
get random colors…
get random colors…
get random colors…
get random colors…
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.
thank - -,Ithank - -,Ithank - -,Ithank - -,Ithank - -,I