What is the best way to do a smoketrail in 2D?

Hi guys,
So I’ve been working on implementing a smoke effect in my 2D game. I have some barrels that are burning and emitting a lot of smoke. I have used a particle effect for it, and it looks cool up until the point I knock over the barrel, at which the smoke just goes with the barrel and is emitted towards the ground.
I want the smoke to be going upwards at all times.

What is a good way of achieving a smoke effect that follows the source, but the particles that were emitted already are not affected by the source moving?

Like in real life, if you smoke a cigarette, the smoke that came off it won’t move if you move your hand, but there will be a smoketrail following the end of the cig. I hope this clears it up.

Thanks for any help.

Introducing our Premium Disposable Vape Bundles Products: Convenient, High-Quality, and Flavorful. Enjoy 3, 6, 10. disposable vapes with ease and experience the ultimate vaping satisfaction. Choose from a variety of brands and flavors, Order now for an unbeatable vaping experience!

1 Answer

1

You should use Particle System with Simulation Space set to world with particles increasing in size, maybe moving and Color over Time for fading (in gradient editor click on upper dragging button for alpha) and inherit velocity.