mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 21:57:00 +02:00
No more hand movement when clicking with the mouse.
This commit is contained in:
parent
20749b48da
commit
b01b144854
1 changed files with 2 additions and 9 deletions
|
@ -137,15 +137,8 @@ void MyAvatar::simulate(float deltaTime) {
|
||||||
Application::getInstance()->getCamera()->setScale(scale);
|
Application::getInstance()->getCamera()->setScale(scale);
|
||||||
}
|
}
|
||||||
|
|
||||||
// update the movement of the hand and process handshaking with other avatars...
|
// no extra movement of the hand here any more ...
|
||||||
bool pointing = false;
|
_handState = HAND_STATE_NULL;
|
||||||
if (_mousePressed) {
|
|
||||||
_handState = HAND_STATE_GRASPING;
|
|
||||||
} else if (pointing) {
|
|
||||||
_handState = HAND_STATE_POINTING;
|
|
||||||
} else {
|
|
||||||
_handState = HAND_STATE_NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
updateOrientation(deltaTime);
|
updateOrientation(deltaTime);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue