Cancel body pitch/roll when getting out of the chair.
This commit is contained in:
parent
e503542b6a
commit
0629c6dbf7
@ -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…
x
Reference in New Issue
Block a user