0ad/source/simulation2
wraitii 99a341f379 UnitMotion - account for target's movement in ComputeTargetPosition (improve chasing behaviour).
After the recent UM changes, units sometimes chase/flee forever as they
can never actually get in range.
This is because moving to the current target's position is not enough
when the target is moving.

By accounting for the target movement's in ComputeTargetPosition, the
behaviour is much improved.

Differential Revision: https://code.wildfiregames.com/D1987
This was SVN commit r22431.
2019-07-03 18:09:31 +00:00
..
components UnitMotion - account for target's movement in ComputeTargetPosition (improve chasing behaviour). 2019-07-03 18:09:31 +00:00
docs Replace deprecated jsval with JS::Value. 2017-08-28 10:27:36 +00:00
helpers Adapt unitMotion to edge-edge distance checks. 2019-07-01 19:50:06 +00:00
scripting Remove "MoveStarted" messages 2019-06-08 12:53:28 +00:00
serialization SpiderMonkey-related changes in preparation for the upgrade to SpiderMonkey 45, refs #4893. 2019-01-13 16:37:41 +00:00
system Update precompiled headers to improve build times. 2019-05-26 07:21:12 +00:00
tests Test we can destroy INVALID_ENTITY 2019-01-06 16:32:50 +00:00
MessageTypes.h Remove "MoveStarted" messages 2019-06-08 12:53:28 +00:00
Simulation2.cpp Remove unnecessary argument from CSimulation2::InitGame 2018-02-09 19:50:01 +00:00
Simulation2.h Remove unnecessary argument from CSimulation2::InitGame 2018-02-09 19:50:01 +00:00
TypeList.h Fix units not being able to play sounds when walking and running 2018-02-24 18:13:03 +00:00