mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 07:34:02 +02:00
Merge pull request #3456 from Atlante45/rec_file_format_tweaks
Fix LookAtPosition
This commit is contained in:
commit
8a8095566b
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