0ad/source/simulation2
wraitii 7b88b1a0f9 UnitMotion - Additional chasing fixes
- Because units slow down when turning, and JPS paths often begin with a
J-shape, chasers can fail to catch up to slower chasee, because the
latter don't recompute paths as often. To fix this, ignore the first
waypoint if it's close by and the next is accessible.
- Don't interpolate the target position when interpolation isn't
necessary (i.e. when not processing the MT_Update_Motion* message), as
that resulted in the "follow known bad path" hack to active
un-necessarily.
- Tweak PathingUpdateNeeded, it will return true when it has no path to
follow
- Remove the direct-range consideration in the "distance uncertainty"
calculation.

Refs #5936

Differential Revision: https://code.wildfiregames.com/D3485
This was SVN commit r24800.
2021-01-27 19:13:29 +00:00
..
components UnitMotion - Additional chasing fixes 2021-01-27 19:13:29 +00:00
docs Replace deprecated jsval with JS::Value. 2017-08-28 10:27:36 +00:00
helpers Replaces UNICODE characters in the code by consistent ASCII characters. 2021-01-15 10:07:36 +00:00
scripting Fix 9fc6c3c897 - Set entity/template before deserializing. 2021-01-12 16:15:40 +00:00
serialization Fix NOPCH builds. 2021-01-25 11:12:11 +00:00
system Revert cf6aaf37a4, causing false OOS in visual replays. 2021-01-22 17:13:12 +00:00
tests Fix lag on OOS with AIs 2021-01-16 10:33:00 +00:00
MessageTypes.h Improve behaviour of formations stuck within other units. 2021-01-05 10:12:47 +00:00
Simulation2.cpp Add a Dev Overlay checkbox to activate RejoinTest from the session. 2020-12-17 17:53:13 +00:00
Simulation2.h Add a Dev Overlay checkbox to activate RejoinTest from the session. 2020-12-17 17:53:13 +00:00
TypeList.h Store turret positions in map files. 2020-11-11 19:40:44 +00:00