I am making 2d game and got a problem

here the cast to AI_enemy is being failed , my character is shooting the fire , enemy’s health is also being low and some times my enemy or the character become invible in the game after a dead (For e.g.- if my character got hit by enemy’s hit box then when it respawn sometimes enemy become invisible or sometimes both(character,enemy) become invisible i have to make the character or enemy dead or close the window )
character_Shoot Blueprint


Projectile blueprint

enemy health blueprint

The cast in the shoot action won’t pass, why u applying damage in the shoot action and the projectile hit, use TAG’s to filter not casts.

1 Like

ok thank you

there is still the invisible character problem but it happens sometimes