Increase DDE head translation to make avatar better reflect RL

This commit is contained in:
David Rowe 2015-04-04 19:08:23 -07:00
parent 1eb5716ab7
commit 65c1fea689

View file

@ -266,7 +266,7 @@ void DdeFaceTracker::decodePacket(const QByteArray& buffer) {
} }
// Compute relative translation // Compute relative translation
float LEAN_DAMPING_FACTOR = 200.0f; float LEAN_DAMPING_FACTOR = 75.0f;
translation -= _referenceTranslation; translation -= _referenceTranslation;
translation /= LEAN_DAMPING_FACTOR; translation /= LEAN_DAMPING_FACTOR;
translation.x *= -1; translation.x *= -1;