HomeWildfire Games

Improve unitMotion behavior. When a unit's path is obstructed, it will now try…

Description

Improve unitMotion behavior. When a unit's path is obstructed, it will now try shortpathing around an increasingly large search range, to optimize behavior in trivial cases where it just needs to go around a unit.
Also stop trying too hard when we are close to the destination and our only order is to move there.
This should result in a slight optimization of the behavior, as well as slightly more sanity overall.

Details

Committed
wraitiiNov 11 2015, 1:49 PM
Parents
rP17225: Fix a rare case where units might get stuck around other idle entities, and…
Branches
Unknown
Tags
Unknown