overte-HifiExperiments/interface
Phil Palmer c5fe49bc30 Decouple MyAvatar.centerOfGravityModelEnabled from the user standing state.
Engine code no longer controls MyAvatar.centerOfGravityModelEnabled.  Maybe we should deprecate it now, since its reason to exist seemed to be only to disable the CG model while the user was sitting, which is now done more explicitly (see below).

MyAvatar::FollowHelper:
- rename shouldActivateHorizontal to shouldActivateHorizontal_userSitting, now private.
- rename shouldActivateHorizontalCG to shouldActivateHorizontal_userStanding, now private.
- add new shouldActivateHorizontal that calls one of the above based on the user's sit/stand state.
- these functions no longer modify their 'myAvatar' parameter.

Add USER_CAN_TURN_BODY_WHILE_SITTING (false), which retains the old rotation behaviour of lean recentering:
a lean recenter doesn't rotate the body if the user is sitting (new: unless the feet are tracked).
In other words, the lean recentering assumes the user isn't on a swivel chair and keeps the avatar pointing in the same direction.  It might be good to expose that as an option.  (Regardless, rotation recentering does kick-in if they turn too far).
2020-12-30 23:14:42 -05:00
..
compiledResources
external
i18n
icon Update interface and server-console icons. 2020-06-07 20:43:38 -04:00
resources Merge pull request #906 from vircadia/fix/update-references 2020-12-15 01:29:47 -05:00
src Decouple MyAvatar.centerOfGravityModelEnabled from the user standing state. 2020-12-30 23:14:42 -05:00
ui Specified color on text edit for console 2019-10-29 15:46:16 -07:00
CMakeLists.txt Set OpenGL_GL_PREFERENCE to LEGACY 2020-10-13 20:13:45 +02:00
interface.entitlements
interface.exe.manifest