highfidelity/hifi — pull request #4023 by PhilipRosedale (2014-12-30 23:26:17+00:00)
Title: Torso twists to follow head, fix bug with head rotations

We had a bug where the absolute head angles reported by Oculus or Faceshift were being applied to the head without deducting the pitch & roll created by leaning the upper body, causing (for example) the avatar to look too far up when leaning back. This now feels much much better.

Also added having the avatar twist the upper body to follow the rotation of the head, which is much more lifelike and helps prevent the head from getting into a 'broken' looking neck, because in real life we rotate the shoulders to help turn the head.