Play particles on movement

How would I go about emitting particles when an object is moving? Unity’s particle system has a ‘Rate over distance’ property in the ‘Emission’ section, and when set to World Space, the effect is what I am after. Is there a way to do this with PlayCanvas’ particle system? Or do I have to do some trickery where I check when an object is moving and emit particles in a quantity relative to the speed of the moving object?

Change the rate at runtiume can cause some performance issues as it changing it would need the emitter to be ‘rebuilt’.

I think the best approach here would be to layer some particle systems together and pause/play a number of them based on the speed/distance moved.

1 Like