- Home /
2D Dust Particle Trail?
I have a 2D sprite that serves a purpose of being a dust trail that appears after my 2D controller moves, but no solution on how to properly use the sprite to trail after the 2D controller. Is there a script that can achieve this?
You question is so unspecific. What kind of issue you have encountered? If your smoke particles don't leave a trail but follow exactly the local origin of the object, you may change the simulation space of your smoke particle system to world.
I apologize. The movement I want to have the smoke particle follow is once the 2D controller begins to move, it appears, and plays an animation, changing direction depending on where the controller is facing.
Similar to the Night in the Woods walking dust animation.
Just a very very friendly re$$anonymous$$der: If you have a reference of published game in $$anonymous$$d, provide the link to the YouTube video and preferably specify the time stamp, so the helpers don't search for it in your s$$anonymous$$d.
Answer by ifurkend · Nov 07, 2017 at 01:51 AM
First you still need to use World simulation space. To order the particle to take the moving direction of a source object into account, use Emission rate over distance instead of time.
Then enable "Inherit Veloctiy" module. Positive value means the particles follow the same direction and negative value for the opposite. Rarely you would use range beyond -1 to +1.
Finally in the Renderer module, change rendering mode to Stretched Billboard.
The issue is that the Particle System cannot "mirror" the texture for you, so make sure your sprite sheet texture isn't cut off by half and expect it to rotate 180-degree when moving the opposite direction.
Thank you a lot, it seems I've gotten the effect I needed! Sorry for not being very experienced with the forum stuff .
Your answer
