Setting particle position every frame...

I’m trying to get my particles to layer nicely with my sprites as displayed here:

My problem is, I need to set the particles’ z position every frame. When I do this, the particle looks like its z-fighting the sprite its supposed to be behind.

The reason for this, is so the torch flame can appear infront of / behind the player depending on what direction the player is facing.

I’ve tried doing “particleSys.Emit()” and passing in position parameters but then I lose all the nice functionality of the particle system prefabs.

Help! Thanks!

Do the particles have any movement predefined that might cause them to move a bit each frame from where you place them?

If not, are you placing them on the exact same z as the character? Or slightly ahead/behind?

Seeing your code would definitely help if neither of the previous two suggestions help.