How to make particles whenever a player moves.

How to you make a particle trail that follows the player when ever it moves. If anyone can find a tutorial that would be very helpful!

You create a particle system. Set it to Play() when you move. Stop() when you stop moving. Instead of goggling How to create walk particle, look up How to play particle through code. You’ll find what you seek :wink:

“How to you make a particle trail that follows”

And you probably don’t want particles that follow your character - it will look very bad usually… you want to emit particles from a particle emitter that is set to use world space.

You could use Rate Over Distance instead of Rate Over Time in a particle system, and try using the Trails Module.

There’s also the Trail Renderer component.

2 Likes

the particles somehow don’t play when i move my player upwards on the y axis (in 2D). is the problem just in 2D and how do i fix it?

Please don’t necro threads like this, simply create your own thread.

The particle system is not a 2D specific thing, it’s not related to 2D at all so this original thread is also in the wrong place. We wish to keep the 2D forum for 2D related subjects.

You can post in the General Graphics forum here and put a tag of “particles” to get the attention of a particle dev, assuming your problem is with the particle system itself.

Thanks.

1 Like