mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-10 17:23:15 +02:00
Cancel body pitch/roll when getting out of the chair.
This commit is contained in:
parent
e503542b6a
commit
0629c6dbf7
1 changed files with 3 additions and 0 deletions
|
@ -80,6 +80,9 @@
|
|||
|
||||
MyAvatar.removeAnimationStateHandler(this.animStateHandlerID);
|
||||
|
||||
MyAvatar.bodyPitch = 0.0;
|
||||
MyAvatar.bodyRoll = 0.0;
|
||||
|
||||
Script.update.disconnect(this, this.update);
|
||||
Controller.keyPressEvent.disconnect(this, this.keyPressed);
|
||||
Controller.keyReleaseEvent.disconnect(this, this.keyReleased);
|
||||
|
|
Loading…
Reference in a new issue