Page MenuHomeWildfire Games

Unit Motion - update our current speed even when we have not moved
Needs ReviewPublic

Authored by wraitii on Wed, May 15, 10:25 PM.


Group Reviewers
Restricted Owners Package(Owns No Changed Paths)

Part of the problem on units gliding.
VisualActor refers to unit motion's m_CurSpeed to know what animation to display in the special walk mode. However that variable is inconsistently updated.

Because of D1893, we can more easily hit the position update code every turn, and update even when we aren't moving (so we aren't moonwalking anytime). We still need to handle STATE_STOPPING... For now ;)

Test Plan

Check out the behaviour of units on the test map.

Diff Detail