Fix UnitMotion updating the visual Actor with the target speed, not the real speed.
Noted by bb also in D3021
Reviewed By: Freagarach
Differential Revision: https://code.wildfiregames.com/D3221
Fix UnitMotion updating the visual Actor with the target speed, not the real…
Description
Details
Event TimelineComment Actions Should have figured that, but this looks a bit odd with formations, because units start using the "run" animation as soon as the formation turns slightly. Probably need a little leeway to avoid that. Comment Actions Yes, but try it for yourself, it looks flickery because it sometimes happens for very small rotations. I need to change it to "speed > m_WalkSpeed * 1.2" or something. |