mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-09 21:32:31 +02:00
Keep orientation while seated
This commit is contained in:
parent
cd10b828dd
commit
38317a23c9
1 changed files with 1 additions and 3 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue