Could you do something like this? This is the blueprint of the little gun I mashed together:
I may be misunderstanding the problem you are having. This produces this though:

Obviously this is from the first person perspective but it would work the same for a third person project just do the line trace with the third person camera.

