Tracking Camera with Head Animation

I wanted to make the player's head track with the camera. So first, I had to disconnect the animations from controlling the neck and overriding whatever rotations I was setting. Then I had to make the neck's rotation correspond to the rotation of the camera. Defining this behavior turned out to be quite difficult. Firstly, I could not merely match the rotation of the camera to the neck because…