Third person rifle to view alignment

Just to clarify the issue i’m having.

As said before, weapon is attached on an empty scene where the stock should meet the shoulder on the character and is meant for relative rotations.
Now some weapons have stocks inline with the muzzle and a simple Find Look at Rotation would work but some guns as shown in the picture has a slight offset between the optimal stock pivot point and the muzzle. I’m trying to rotate the pivot scene so as to align the muzzles towards the target, target being a line trace hit/end location. But i got no clue how to do that in BP. Also, it should be noted that the character can lean so i guess the yaw and pitch should take that into account? I converted the offset into local space, taking the world space from the pivot scene, getting the local offset from the muzzle socket on only the X and Z, having the X as well in case some weapons can have offsets on the X axis as well. How can i get the angle between the pivot scene and the offset location and rotate the pivot scene relative by the amount needed to align the muzzle to the target? Please help.

](filedata/fetch?id=1782140&d=1593427157)

Btw, this is how i get the local offset of the muzzle relative to the pivot scene.