I'd like to know how you would approach this system for a platformer game. I tried adding this into one and trying to make it not fire upward in code was a bit rough especially when it came to switching left to right.
It would work the same way. The only difference is I'd design the configurations to look to the right by default, instead of up. Then, you can attach the weapon to your character and use the X scale to flip the character with the weapon in a side-scrolling game. As the projectiles and other parts of the system are decoupled from the firing configurations, this should be the only required change.