Keep orientation while seated

This commit is contained in:
Atlante45 2017-02-27 17:33:26 -08:00
parent cd10b828dd
commit 38317a23c9

View file

@ -86,10 +86,8 @@
MyAvatar.characterControllerEnabled = false;
MyAvatar.hmdLeanRecenterEnabled = false;
MyAvatar.overrideRoleAnimation(ROLE, ANIMATION_URL, ANIMATION_FPS, true, ANIMATION_FIRST_FRAME, ANIMATION_LAST_FRAME);
MyAvatar.resetSensorsAndBody();
}
MyAvatar.resetSensorsAndBody();
MyAvatar.bodyRoll = 0.0;
MyAvatar.bodyPitch = 0.0;
var that = this;
Script.setTimeout(function() {