mirror of
https://github.com/overte-org/overte.git
synced 2025-07-31 00:30:13 +02:00
MyAvatar: refactored updateFromHMDSensorMatrix() a bit by splitting it into several methods, because it was getting quite large and becoming hard to follow. * beginStraighteningLean() - can be called when we would like to trigger a re-centering action. * shouldBeginStraighteningLean() - contains some of the logic to decide if we should begin a re-centering action. for now it encapulates the capsule check. * processStraighteningLean() - performs the actual re-centering calculation. New code was added to MyAvatar::updateFromHMDSensorMatrix() to trigger re-centering when the avatar speed rises over a threshold. Secondly the Rig::computeMotionAnimationState() state machine for animGraph added a state change hysteresis of 100ms. This hysteresis should help smooth over two issues. 1) When the delta position is 0, because the physics timestep was not evaluated. 2) During re-centering due to desired motion, the avatar velocity can fluctuate causing undesired animation state fluctuation. |
||
---|---|---|
.. | ||
audio | ||
avatar | ||
devices | ||
octree | ||
scripting | ||
ui | ||
AbstractLoggerInterface.h | ||
Application.cpp | ||
Application.h | ||
Bookmarks.cpp | ||
Bookmarks.h | ||
Camera.cpp | ||
Camera.h | ||
CrashHandler.cpp | ||
CrashHandler.h | ||
DiscoverabilityManager.cpp | ||
DiscoverabilityManager.h | ||
FileLogger.cpp | ||
FileLogger.h | ||
FileUtils.cpp | ||
FileUtils.h | ||
GLCanvas.cpp | ||
GLCanvas.h | ||
InterfaceActionFactory.cpp | ||
InterfaceActionFactory.h | ||
InterfaceLogging.cpp | ||
InterfaceLogging.h | ||
LODManager.cpp | ||
LODManager.h | ||
main.cpp | ||
MainWindow.cpp | ||
MainWindow.h | ||
Menu.cpp | ||
Menu.h | ||
ModelPackager.cpp | ||
ModelPackager.h | ||
ModelPropertiesDialog.cpp | ||
ModelPropertiesDialog.h | ||
ModelSelector.cpp | ||
ModelSelector.h | ||
Physics.cpp | ||
Physics.h | ||
PluginContainerProxy.cpp | ||
PluginContainerProxy.h | ||
ScriptHighlighting.cpp | ||
ScriptHighlighting.h | ||
ScriptsModel.cpp | ||
ScriptsModel.h | ||
ScriptsModelFilter.cpp | ||
ScriptsModelFilter.h | ||
SpeechRecognizer.cpp | ||
SpeechRecognizer.h | ||
SpeechRecognizer.mm | ||
Stars.cpp | ||
Stars.h | ||
UIUtil.cpp | ||
UIUtil.h | ||
Util.cpp | ||
Util.h | ||
world.h |