mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
Fix LookAtPosition
This commit is contained in:
parent
cb1af4499a
commit
29ff8c09d9
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ void Player::play() {
|
|||
head->setFinalPitch(eulers.x);
|
||||
head->setFinalYaw(eulers.y);
|
||||
head->setFinalRoll(eulers.z);
|
||||
head->setLookAtPosition(currentFrame.getLookAtPosition());
|
||||
head->setLookAtPosition(context->position + context->orientation * currentFrame.getLookAtPosition());
|
||||
} else {
|
||||
qDebug() << "WARNING: Player couldn't find head data.";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue