How to apply the correct offset on an IKController to maintain an orientation?

I am trying to make a rigged arm that follows the player, but i am having a hard time calculating the offset that will orient the EndEffector such that it’ll maintain a natural looking rotation.

I basically just want the hand to follow the player like this:


A is the ChainRoot, B is the EndEffect