1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 11:53:51 +00:00
openmw-tes3mp/apps
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
..
bsatool Use more C++11 in tools code 2020-06-10 10:30:37 +04:00
esmtool Use meaningful names instead of mSkill1 and mSkill2 2020-06-26 11:47:59 +04:00
essimporter Use overrides, when needed 2020-06-10 12:58:15 +04:00
launcher Merge branch 'doc-formattopics' into 'master' 2020-06-24 11:26:22 +00:00
mwiniimporter Support eight possible blood types (feature #4958) 2019-04-14 18:48:31 +03:00
niftest Catch possible boost::bad_any_cast exception 2019-03-19 09:11:14 +04:00
opencs Use meaningful names instead of mSkill1 and mSkill2 2020-06-26 11:47:59 +04:00
openmw Merge branch 'fix_turn_to_movement' into 'master' 2020-06-26 20:04:02 +00:00
openmw_test_suite Optimize recast mesh size by vertex deduplication 2020-06-16 00:51:36 +02:00
wizard Avoid reverse iteration on QHash 2020-06-23 13:33:38 +04:00
doc.hpp