I was trying to make an enemy with AI of shooting torwards the player, having them turn towards the player always.
I make them shoot arrows even while jumping, but when more than one of the same enemy is existent, the one farthest to the right controls directiong of fire, e.g. if you are between the enemies, they will both shoot the the left, surpassing the final enemy with finally change direction of fire.
I wanna figure out how to make them shoot in the direction of the player independently.
Is this possible?
Develop games in your browser. Powerful, performant & highly capable.
Yes, it is possible.