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 !245
Showing with 13 additions and 34 deletions