Is it possible to change Particles2D process_material parameters without affecting already emitted particles?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ariorick

My specific case is that i want to draw a permanent directed trace on the floor when my character does dash. So, I tried setting process_material.anglee from code beffore each dash. Problem is, it affects all particles, including already emitted, so already drawn trace on floor messes up. Is there some other way maybe?

:bust_in_silhouette: Reply From: AlexTheRegent

Check Material/<YourMaterial>/Resource/LocalToScene. This way each copy of this material will have it’s own parameters (independent from others). Or if you need to have multiple synchronized copies of material and only one different for dash, then you need to create new material for dashes only.

I edited my question to try to be more specific. I know that particle material might be shared resource, what I meant is I want to change parameters for new particles without affecting already emitted.
I change anle and EVERY particle emitted from this Particle2D node changes

ariorick | 2021-02-05 08:04

Having the same issue, did you eventually figure out a solution?

Cyanic Cipher | 2021-11-12 22:02