Set head bone rotation from head orientation.

This commit is contained in:
Andrzej Kapolka 2013-06-06 10:26:26 -07:00
parent c1bccb04d1
commit 2cc640b6f6

View file

@ -1073,6 +1073,9 @@ void Avatar::updateBodyBalls(float deltaTime) {
_bodyBall[ _bodyBall[b].parentBall ].rotation;
}
}
// copy the head's rotation
_bodyBall[BODY_BALL_HEAD_TOP].rotation = _head.getOrientation();
}
void Avatar::updateArmIKAndConstraints(float deltaTime) {