Godde wrote:
Waypoints are moved way too far ahead when the unit is turning.
They are moved only as far as required, specifically a unit will skip waypoints when they lie anywhere inside the turning circle derived from its turn-rate and current speed. Neither this nor the older logic is a panacea.
Godde wrote:
The unit isn't even facing the direction of the waypoints and its still skipping waypoints
Because direction is not what matters, distance is.
Godde wrote:
The unit keeps skipping waypoints way behind the obstacles and bounce off them
Ramming obstacles would (and did) happen even if waypoints were
never skipped at all, simply because low-turnrate/high-speed units cannot follow every possible path without deviating from it
unless allowed to slow down arbitrarily far below turnInPlaceSpeedLimit at any point (instead of skipping ahead). Some new path-following code I have lined up for after 86.0 will do this.
Godde wrote:
Even when a new command is given the waypoints are skipped so far ahead that the unit will keep driving into the obstacles
This is solved for 86.0 by letting units ask for new paths.
Godde wrote:
I advocate that waypoints shouldn't be skipped so far ahead and that they shouldn't be skipped at all if they are above 90 degrees on the sides of the unit in the direction of movement
You might remember what the result of that would be (point #2). I am also willing to make a special test build for you with those changes and any others you think are an improvement if you aren't convinced.
TLDR: when units did not skip waypoints they were ramming into obstacles
and forever orbiting around/snaking between waypoints, now they do skip waypoints and "only" ram into obstacles.
Godde wrote:
Could the unit be set up the wrong way or have s44 set up a special rule for tankobstacles?
How is that tanktrap's yardmap defined?
Godde wrote:
F2 view doesn't show where units can go.
It's not implemented yet.
Godde wrote:
Propably because of all the squares that has to be drawn.
Actually more because of all the text, though the squares don't help.