Cancel body pitch/roll when getting out of the chair.

This commit is contained in:
Atlante45 2017-02-21 14:01:51 -08:00
parent e503542b6a
commit 0629c6dbf7

View file

@ -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);