These issues are being reported together because fixing them will likely affect
the same code.
---
1) Pathfinding is producing weird paths.
Example:
I'm in "Town (35.4:11.4:0)" and click on "Town (34.5:7.8:0)".
I expected Tux to go to the door and then to the target location.
Instead Tux goes to a point near the kitchen wall (in a straight line) and then
to the target location (in a straight line), resulting in a longer path
(Shopowner was behind the counter).
---
2) Pathfinding can't find some paths.
Example:
I'm in "Town (35.4:11.4:0)" and click between "Town (34.5:7.8:0)" and the sofa.
I expected Tux to go there.
Instead Tux does nothing, and after entering the building manually it can go to
the target location without problems.
Related:
When I'm melee fighting multiple droids and have only my "front area"
surrounded, other droids coming from that direction will stop coming towards me
until I make space by killing a droid attacking me.
I expected them to try to fully surround me by attacking my "back area", which
is empty, or to disregard the other bots and keep coming closer.
Pathfinding probably can't find a path to my "back area".
---
3) Pathfinding treats droids as obstacles, but movement doesn't.
I suggest not treating droids as obstacles during pathfinding.
Since I pass through bots during movement, I expected pathfinding to ignore them
too.
The current way just produces confusion, like when I sometimes couldn't cross
the "Maintenance Tunnels (29.3:14.5:6)" section, which I now know is because at
the time there was a droid in there.
Even after adding collision to movement, it is still reasonable to ignore droids
during pathfinding and only try to get around them when you actually collide,
since the droid might not be there by the time you arrive.
Related:
When I try to fight only one droid at a time I retreat a bit after it starts
chasing.
If multiple droids come, they will end up on top of each other (next to me)
because they come from the same direction, which reinforces the belief that they
are not obstacles.
When multiple droids are on the same position, sometimes they get stuck there. I
don't know for how long they are stuck because I usually go kill them soon after
to get a multi-kill. ;D
|