Download

Aim Offset aiming troubles

So, I’m trying to make my character aim at targets with aim offset, but I can’t figure out how to calculate yaw and pitch for aim offset with my animations.
What I made looks like this:
[https://gfycat.com/SmoggyAncientBullmastiff

https://thumbs.gfycat.com/SmoggyAncientBullmastiff-max-14mb.gif
](https://gfycat.com/SmoggyAncientBullmastiff)

as you can see character kinda turning to target but very inaccurate with more error in movement.
Aim offset working when I’m using aim animations driven from idle pose but only if there’s no characters movement:
[https://gfycat.com/JaggedTastyGoldfish

https://thumbs.gfycat.com/JaggedTastyGoldfish-max-14mb.gif
](https://gfycat.com/JaggedTastyGoldfish)

Any ideas how to properly setup all this?
For the first gif my animBP looks like this:

https://i.imgur.com/PshrPYV.png