I'm working on a level in which one plays as a battleship (takes a few cues from NES Super Battleship and World Of Warships, I suppose), and I'm using XPosition/YPosition events in tandem with Cos/Sin angle formulae to make the turrets sit on specific sections of the ship sprite (since they're separate sprites, as I want them to be individually destructible)
Now, I've got the "primary" turrets configured just fine, as they are exclusively positioned lengthways down the ship:
Please login to see this attachment.Please login to see this attachment.
However, for the "secondary" turrets, since they are positioned along left/right edges of the ship (they're supposed to sit on those little black holes you see on the ship, I'm not sure what needs to be added to the angle formulae, that would also allow them to rotate whenever the ship sprite rotates). Any help would be appreciated.
Please login to see this attachment.Please login to see this attachment.(For the left, for the right it's +12.5 naturally)