1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-02 14:45:34 +00:00
openmw/apps/openmw
psi29a e83fb8c3fd Merge branch 'fix_turn_to_movement' into 'master'
Bugfix for "turn to movement direction"

Fix for #5457.

Users complain that movement is not smooth enough when the character turns from "straight right" to "straight right and a bit backward" movement.

This MR fixes it.

The problem was mostly caused by the logic that at first changes animation speed to match movement speed, and then adjusts the movement speed to match the animation. IMHO it is a doubtful logic because then the real movement speed may be not consistent with the result of getSpeed.

Also I've removed the setting "turn to movement direction speed coef" because:
1) It was added as a workaround for this "non smooth movement" problem. After the fix it is not needed.
2) Users mistakenly think that it is somehow related to movement speed for diagonal movement.

See merge request OpenMW/openmw!245
2020-06-26 20:04:02 +00:00
..
mwbase Merge branch 'formattopics' into 'master' 2020-06-21 07:58:02 +00:00
mwclass Redistribute hits to carried left slot when possible (#5490) 2020-06-25 15:44:40 +03:00
mwdialogue Optionally change color of keywords in the dialogue window based on the 2020-05-02 01:42:05 +02:00
mwgui Use meaningful names instead of mSkill1 and mSkill2 2020-06-26 11:47:59 +04:00
mwinput Fix ordering warning 2020-06-18 19:19:57 +04:00
mwmechanics Merge branch 'fix_turn_to_movement' into 'master' 2020-06-26 20:04:02 +00:00
mwphysics Use more C++11 in the physics code 2020-06-26 14:22:00 +04:00
mwrender Merge pull request #2934 from akortunov/master 2020-06-26 09:55:30 +04:00
mwscript Initialize fields to avoid undefined behaviour 2020-06-18 14:50:06 +04:00
mwsound Revert the changes for "bug" #4551 2020-06-11 00:06:37 +03:00
mwstate Introduce a separate class to control world date and time 2020-06-05 12:07:32 +04:00
mwworld Advanced third person camera. 2020-06-22 15:22:34 +02:00
android_main.cpp android: Switch to C++ 2019-04-28 18:21:31 -04:00
CMakeLists.txt terrainbased objectpaging 2020-06-13 00:22:27 +02:00
doc.hpp Fixed more spelling mistakes 2016-12-15 13:09:40 +01:00
engine.cpp Merge pull request #2866 from elsid/extend_osg_stats 2020-05-29 23:23:38 +02:00
engine.hpp Make fallback map static to simplify constructors 2019-03-29 15:30:49 +04:00
main.cpp Add separate textures for scrollbars (feature #5051) 2019-06-01 16:12:03 +04:00