So I am trying to improve a port I did of a Vodnik from Arma 2, and the main 30mm gun works fine, and has the smoke and light effect at the end of the barel, as it should be:
However, the coax machinegun effects appear in the wrong place. The muzzle flash is right, the tracers show the rounds are coming out at the right place, but the smoke and the light effects are wrong:
I have a similar problem with a further modified version of the Vodnik in which I have scaled down the 30mm barrel, and duplicated and rotated it to look like a gatling gun (and I have changed the animation so the barrels rotate when firing), I made a new weapon class for it based on an HMG (but now with a much higher ROF and muzzle , and lead prediction so its an effective light AA gun).
What do I need to do to define where these effects appear for each weapon?