So here’s what I’m trying to do, I’m trying to make invisible objects in a room start shooting a linear path when the boss HP goes down to a certain point.
as you can see here the boxes with the arrows represent the spawning point for the enemy bullets the left will spawn projectiles from the left and the right one does exactly that.
This is the code that I tried to do but the projectiles spawn somewhere else and I don’t know what could I put in here to make the bullets travel in a straight line.