Rotating a bone upwards relative to camera.

Hello,
I have been trying to achieve this result but to no avail.
I want to rotate a limb upwards relative to space.world or camera view. So that when a user presses UP, the bone rotates upward, or Down for downward. This is difficult to explain so I attached a picture to illustrate the desired result.
As you can see, I have the horizontal movement exactly as I want it. It’s just the vertical movement I’m having problems with.

I feel the answer is easy to someone who has experience, but I have trouble even explaining my desired result into google to find an answer.
So your help is greatly appreciated.

Hi,

I am not sure if you are looking for this, but if you know your start and end vectors, you can get angle between them using Vector3.Angle(v3A, v3B).
Unity - Scripting API: Vector3.Angle.