mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
Not crazy about the rotation amplification.
This commit is contained in:
parent
b660336b2a
commit
a1d0f255cc
1 changed files with 3 additions and 3 deletions
|
@ -286,9 +286,9 @@ void Avatar::reset() {
|
|||
|
||||
// Update avatar head rotation with sensor data
|
||||
void Avatar::updateHeadFromGyrosAndOrWebcam() {
|
||||
const float AMPLIFY_PITCH = 2.f;
|
||||
const float AMPLIFY_YAW = 2.f;
|
||||
const float AMPLIFY_ROLL = 2.f;
|
||||
const float AMPLIFY_PITCH = 1.f;
|
||||
const float AMPLIFY_YAW = 1.f;
|
||||
const float AMPLIFY_ROLL = 1.f;
|
||||
|
||||
SerialInterface* gyros = Application::getInstance()->getSerialHeadSensor();
|
||||
Webcam* webcam = Application::getInstance()->getWebcam();
|
||||
|
|
Loading…
Reference in a new issue