mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-14 18:13:17 +02:00
Set head bone rotation from head orientation.
This commit is contained in:
parent
c1bccb04d1
commit
2cc640b6f6
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue