change particle emitter from world space to local space.

Created a particle that is spewing smoke in a specific axis(e.g.- X-axis) in the particle editor. When I attach it to a gun socket and use it in-game, the particle emits at a specific direction(specific axis in world-space) and does not rotate and emit from the gun’s rotation(e.g.- local space). I want the smoke to emit from the gun and towards a target whenever I rotate the character, how do I fix this??

Thanks in advance.