#1823 closed defect (fixed)
Units in formation sometimes appear to slide
Reported by: | zoot | Owned by: | leper |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 13 |
Component: | UI & Simulation | Keywords: | |
Cc: | Patch: |
Description
Sometimes, one or more units in a formation fail to play its walking animation when moving:
See also: http://www.wildfiregames.com/forum/index.php?showtopic=16969
Attachments (2)
Change History (8)
by , 11 years ago
Attachment: | unitslide.tar.gz added |
---|
comment:1 by , 11 years ago
Attached above (unitslide.tar.gz) is a savegame (and its corresponding map) in which a unit will begin 'sliding' a few seconds after loading. The unit has entity ID '46'.
Just before the unit begins sliding, OnMotionChanged is invoked on its UnitAI, and this subsequently leads to the unit entering a "FORMATIONMEMBER.IDLE" state prematurely (while it is still moving), and this in turn disables the walking animation.
Why OnMotionChanged
is invoked, I don't know, but it appears to due to some kind of failure in UnitMotion
because of the unit's path 'colliding' with a house.
comment:3 by , 11 years ago
Component: | Core engine → UI & Simulation |
---|---|
Milestone: | Backlog → Alpha 13 |
Thanks for the great test case!
by , 11 years ago
Attachment: | sliding2.0adsave added |
---|
follow-up: 6 comment:4 by , 11 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
The first case is fixed for me too, but apparently here is another one (sliding2.0adsave). About 15 seconds after loading the game, the unit with entity ID '1522' will begin sliding. (The unit is a packed ballista in the north-eastern part of the map.)
comment:6 by , 11 years ago
Replying to zoot:
The first case is fixed for me too, but apparently here is another one (sliding2.0adsave).
Thanks for providing another test case! I overlooked another case that triggered the OnMotionChanged hook, but it should be fixed now.
Savegame (and map) with a 'sliding' formation member.