mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-17 13:06:17 +02:00
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). |
||
---|---|---|
.. | ||
compiledResources | ||
external | ||
i18n | ||
icon | ||
resources | ||
src | ||
ui | ||
CMakeLists.txt | ||
interface.entitlements | ||
interface.exe.manifest |