![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Diet Estus |
I have an enemy with this structure:
KinematicBody2D
> Sprite
> AnimationPlayer1
> AnimationPlayer2
> Other stuff...
The second AnimationPlayer
animates some uniforms in a shader attached to the Sprite
. It create a dissolve effect when the enemy dies.
Unfortunately, whenever one enemy dies, the shader animation initiates, and all of my enemies dissolve, rather than just the one I killed.
How can I fix this?