Ok, I am making just a basic ship/trading/pirate game. I have come to the point when I need to make the ship only be able to fire form the sides. To do this I am making a dummy unit to fire when a unit enters a movable region placed at either side of the attacking ship.
When I got to the point of actually moving these region every few ticks, I got totally lost. I know it needs to find the point [some distance] away from [some degrees away] from the facing point but im lost ^^. I could use any help with this, or if you know of an easier way to do what I am trying to do. That would be great to.
When I got to the point of actually moving these region every few ticks, I got totally lost. I know it needs to find the point [some distance] away from [some degrees away] from the facing point but im lost ^^. I could use any help with this, or if you know of an easier way to do what I am trying to do. That would be great to.