Hey guys, I have a slight problem with a top down shooter and the enemies' bullets.
If an enemy has spawned on screen their bullets are fine, but if that enemy has been killed and destroyed their bullets suddenly appear to fire from the top left of the screen.
Each enemy is setup to fire toward the direction of the player. I've tried to fix it with the 'destroy outside layout' behavior applied to each enemy bullet and other simple methods, but I can't get those bullets to stop firing when an enemy hasn't spawned yet.
edit: basically it seems like before an enemy is set to spawn, they are appearing outside the top left of the layout and shooting toward the player.