overte-thingvellir/libraries
Phil Palmer 2179c153de VR fixes for: couldn't sit on the floor, wrong walk directions.
- Divided the option "Avatar leaning behavior" into two options that work more usefully: "Allow my avatar to stand" and "Allow my avatar to lean" (PreferencesDialog.cpp).  Made the necessary fixes so that the avatar can be set to stand only when the user is standing (more details below).
- The logic controlling the direction of MyAvatar's action motor is now centralised in calculateScaledDirection (was previously split between there and updateMotors).  calculateScaledDirection now returns a velocity in world space.
- CharacterController::FollowHelper now uses separate follow timers for rotation, horizontal and vertical (previously followed all three based on the longest of their follow times).  Where appropriate, FollowHelper can now snap immediately to the desired rotation/horizontal/vertical independently (see FOLLOW_TIME_IMMEDIATE_SNAP).
- FollowHelper::FollowType has therefore moved to CharacterController::FollowType.
- MyAvatar::FollowHelper::postPhysicsUpdate: If MyAvatar is not allowed to stand when the user is sitting, this now avoids recentring the body based on the head height.
- Removed Q_PROPERTY(MyAvatar::SitStandModelType, as the sitting/standing/leaning model uses different enums now (see setAllowAvatarStandingPreference, setAllowAvatarLeaningPreference).
- Removed Q_PROPERTY(bool isSitStandStateLocked which is no longer used, because we now always track the user's real-world sit/stand state, regardless of what we're doing with it.
- MyAvatar::FollowHelper::shouldActivateHorizontal: If MyAvatar is not allowed to lean, this now returns true to recentre the footing if the head is outside the base of support.
- MyAvatar::FollowHelper::shouldActivateHorizontalCG: If MyAvatar is not allowed to lean, this now always returns true to recentre the footing.  Rearranged to avoid computing values that weren't used depending on the conditions.  Resolved some duplicated code.
- MyAvatar::setUserRecenterModel previously set HMDLeanRecenterEnabled based on the chosen mode, but it got reset when getting out of a sit.  Now HMDLeanRecenterEnabled is only controlled by the scripts.
- Added Rig::getUnscaledHipsHeight (like getUnscaledEyeHeight).  Refactored a little to avoid duplicated code.  Added DEFAULT_AVATAR_HIPS_HEIGHT which is the value that Rig::getUnscaledHipsHeight returns when using the default avatar.
- Fix for recentring not behaving as requested by the user after getting up from click-to-sit (always behaving like 'Auto') : MyAvatar::endSit now passes false to centerBody for 'forceFollowYPos'.
- Fix for incorrect vertical position of the avatar and viewpoint after changing lean recentre mode while not standing in the real world: MyAvatar::setAllowAvatarStandingPreference now calls centerBody with false for 'forceFollowYPos'.
- computeHipsInSensorFrame: The code now matches the comments in that it only skips the dampening of the hips rotation if the centre-of-gravity model is being used.
2020-12-22 14:22:27 -05:00
..
animation VR fixes for: couldn't sit on the floor, wrong walk directions. 2020-12-22 14:22:27 -05:00
audio
audio-client Merge pull request #613 from odysseus654/pr/registerListener 2020-10-29 17:13:05 -04:00
auto-updater
avatars
avatars-renderer remove isActive, fix contains, maybe fix green box issue 2020-11-09 19:14:30 -08:00
baking
controllers
display-plugins Reduce horizontal size of HUD overlay from 270 deg to 180 deg 2020-10-24 16:05:17 +13:00
embedded-webserver
entities fixing up simple-compound logic 2020-11-27 15:04:56 -08:00
entities-renderer Apply suggestions from code review 2020-11-27 15:11:18 -08:00
fbx Merge pull request #773 from ctrlaltdavid/fix/gltf-crash 2020-10-13 05:25:43 -04:00
gl Merge pull request #860 from makitsune/fix-alt-on-linux 2020-12-10 23:45:55 +01:00
gpu Mark font textures as something that shouldn't be downscaled 2020-10-27 18:24:08 +01:00
gpu-gl Set OpenGL_GL_PREFERENCE to LEGACY 2020-10-13 20:13:45 +02:00
gpu-gl-common Change conditionals according to review 2020-12-15 04:15:44 +01:00
gpu-gles
graphics
graphics-scripting
hfm
image
input-plugins Merge pull request #677 from HifiExperiments/mouse 2020-10-12 13:19:36 -04:00
ktx
material-networking
midi
model-baker
model-networking
networking Get most 'project-athena' -> 'vircadia' references. 2020-12-13 04:42:34 -05:00
octree Merge pull request #613 from odysseus654/pr/registerListener 2020-10-29 17:13:05 -04:00
oculusMobile Upgraded Oculus SDKs to latest 2020-12-15 00:04:59 -08:00
oculusMobilePlugin Upgraded Oculus SDKs to latest 2020-12-15 00:04:59 -08:00
physics VR fixes for: couldn't sit on the floor, wrong walk directions. 2020-12-22 14:22:27 -05:00
platform
plugins
pointers
procedural
qml Set OpenGL_GL_PREFERENCE to LEGACY 2020-10-13 20:13:45 +02:00
recording
render
render-utils Apply suggestions from code review 2020-11-27 15:11:18 -08:00
script-engine Merge pull request #882 from ctrlaltdavid/fix/jsdoc-typo 2020-12-01 05:58:31 -05:00
shaders
shared VR fixes for: couldn't sit on the floor, wrong walk directions. 2020-12-22 14:22:27 -05:00
task
test-utils
ui Merge pull request #791 from daleglass/fix-build-warnings-on-qt-5.15 2020-10-29 17:39:06 -04:00
ui-plugins
workload