overte/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 Update classes' JSDoc per @hideconstructor 2019-12-23 14:13:48 +13:00
audio-client Merge pull request #613 from odysseus654/pr/registerListener 2020-10-29 17:13:05 -04:00
auto-updater Move user agent to networking constants. 2020-07-08 14:18:24 -04:00
avatars transition listener registration from member string name to member string pointer 2020-08-09 14:57:00 -07:00
avatars-renderer remove isActive, fix contains, maybe fix green box issue 2020-11-09 19:14:30 -08:00
baking Move user agent to networking constants. 2020-07-08 14:18:24 -04:00
controllers no negatives 2020-05-28 15:47:05 -07:00
display-plugins Reduce horizontal size of HUD overlay from 270 deg to 180 deg 2020-10-24 16:05:17 +13:00
embedded-webserver Make it possible to turn the Prometheus exporter on and off 2020-06-07 02:47:39 +02:00
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 Merge pull request #301 from HifiExperiments/modelBackface 2020-05-13 16:06:26 -04:00
graphics-scripting Add fall-through comments to fix GCC warnings 2020-08-27 19:27:11 +02:00
hfm Add HFM model dump for FBX files 2020-08-29 11:02:54 +12:00
image Fix unsigned warnings 2020-08-27 19:48:27 +02:00
input-plugins Merge pull request #677 from HifiExperiments/mouse 2020-10-12 13:19:36 -04:00
ktx Add another missing #include <stdexcept> for building under Windows. 2020-06-13 13:07:06 -07:00
material-networking Fix build under Qt 5.14 and later. 2020-08-25 23:32:24 +02:00
midi Lots of renamings, more to come. 2020-04-07 04:56:02 -04:00
model-baker Revert commit 359248829c using -m 1 to temporarily fix issue 383. 2020-06-03 16:08:18 -04:00
model-networking Revert commit 359248829c using -m 1 to temporarily fix issue 383. 2020-06-03 16:08:18 -04:00
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 Lots of renamings, more to come. 2020-04-07 04:56:02 -04:00
pointers
procedural Revert commit 359248829c using -m 1 to temporarily fix issue 383. 2020-06-03 16:08:18 -04:00
qml Set OpenGL_GL_PREFERENCE to LEGACY 2020-10-13 20:13:45 +02:00
recording
render Merge branch 'master' into blendshapes 2020-05-07 13:38:59 -07:00
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