Hi, im making a 2.5D platformer (with poor coding knowledge), i really like those dust meshes from this game.

I’ve made an animated cloud mesh that goes from a tiny smoke and scale to a dust mesh, and then it slowly scale to almost 0. I would like to know how to instance/create those meshes when my character only run, meshes need to create and “die” in a place and not follow my character,
I dont know if i need a particle system or just a script would made it.
Thanks in advance!
That’s just a regular particle effect. Nothing special about the one you’re showing. Pretty much every game has the same thing. That’s good, because Unity can make those with no trouble at all, with particleSystem.
That dust is a texture. Maybe it’s UV-animated (which is a standard feature in both Unity particle systems,) but it might be just one texture, getting larger/smaller. The blast coming from his rear lower abdomen is “aimed,” which is also standard in the Unity particleSystem.
Forget the “mesh” part. That’s for spitting out solid objects. Technically everything is a mesh, but the particleSystem will handle it for you. You can think of it as simply showing copies of your picture.
Then the rest is what SS and perchak write about – when do you turn it on/off.
Seems like it’s not too hard… create a flag to tell if you’re running or not. If you are running, every second (or half second, or whatever) spawn your smoke cloud at the back of the character. I don’t think the smoke cloud even “follows” the player, it looks like there’s actually just a bunch of clouds.
The best way would be to look into animation events. Create an event every time a foot touches the ground in the run animation, maybe a different event for each foot. Then have that event call a function that instantiates your dust prefab.
A far more efficient way to do it would be to only have one particle system and instantiate a single particle or group of particles each time, but I doubt you care about the performance.
How do you make the dust meshes themselves though? I cant seem to find anything on the topic anywhere.