Opened 9 years ago

Last modified 6 years ago

#3474 closed defect

Animal roaming — at Version 4

Reported by: elexis Owned by:
Priority: Must Have Milestone: Alpha 19
Component: Core engine Keywords:
Cc: Itms Patch:

Description (last modified by elexis)

Animals only walk some steps when roaming and rotate too frequently, almost looks like spinning. Similar problems were encountered in #1833. Bug was introduced in r17028.

http://trac.wildfiregames.com/raw-attachment/ticket/3474/deer_ballet.gif

http://trac.wildfiregames.com/raw-attachment/ticket/3474/whale_ballet.gif

Change History (7)

comment:1 by mimo, 9 years ago

It's a different problem than in #1833. Here the animal seems to turn towards the random direction it should move, but the move stops immediately, so it chooses a new random direction, faces towards it , ... and so on during all its roaming time. I think it is linked to #3405 as both flee and roaming uses MoveToPointRange which seems to be broken when the unit is inside the range it should move to. If this behaviour is recent (i.e. not introduced with the new pathFinder), it may be because of r17013

by elexis, 9 years ago

Attachment: deer_ballet.webm added

Sample video

comment:2 by elexis, 9 years ago

Reproduce: Start any map with roaming animals, like the default skirmish map. Notice whales are also affected. Caused by: r17028, the revisions before that don't have it, but that revision and every after that does.

comment:3 by elexis, 9 years ago

Description: modified (diff)

by elexis, 9 years ago

Attachment: whale_ballet.gif added

by elexis, 9 years ago

Attachment: deer_ballet.gif added

Same.

comment:4 by elexis, 9 years ago

Description: modified (diff)

Can we assume that an error in MoveToPointRange also causes errors for the players units?

Note: See TracTickets for help on using tickets.