Hello everyone, I am developing a pirate game. But I am having problems with the ball shots of enemy ships.
I prepared an artificial intelligence, but I have a problem with enemy's aiming and shooting at me. When player enter a certain area, they need to translate their right or left ships's body for this player, then they have to shoot player. But I can not setting this. I will put an example screenshot for this. In short, I am having a problem with artificial intelligence's aiming.