aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/route_obstacles.rs
Commit message (Collapse)AuthorAgeFilesLines
* fix(ai): route capturers to authored building entrancesValentin Popov9 days1-0/+26
|
* feat(factory): release assembled warbots above the roofValentin Popov9 days1-0/+9
| | | | Find the factory roof with a vertical ray, apply the native height offsets, and keep the departure task active through descent and apron clearance. Verify both stock Two Fortresses factories and transport delivery, and check the descent in a fixed-camera Vulkan run.
* fix(transport): load and unload at the building perimeterValentin Popov9 days1-8/+12
| | | | Verify the AI transport fills at the mine and unloads at the storage facility from stock Single.01, in the licensed test and the game window.
* fix(production): wait for a clear ground release pointValentin Popov9 days1-2/+12
| | | | Validate stock completions from Single.01 with Vulkan validation and check produced hulls against live occupancy. The licensed long transport scenario still fails at storage unloading with both the previous and the new release point.
* fix(movement): account for vehicle traffic along ground routesValentin Popov9 days1-20/+42
| | | | | | Ground routes now clear live vehicle bounds as well as buildings. Each movement step reserves the space it traversed for the rest of the frame. A parked vehicle can delay arrival without deleting the destination, and an obstructed detour can be replaced. Verified head-on passing, crossing during one long frame and resuming after an occupied goal clears. Workspace checks, the AutoDemo window, stock builder resupply and the 29-mission simulation corpus passed. Tight groups and airborne clearance remain approximate.
* fix(movement): route autonomous units around buildingsValentin Popov9 days1-0/+390
Project the bounds of live building meshes onto the ground and expand them by the vehicle radius. The shared route follower chooses exterior corners for blocked legs and can leave a footprint containing its starting position. Verified a detour on the stock factory geometry, stock builder resupply, a window run of Single.01, and 15 minutes of simulation on all 29 missions. Narrow openings, flying clearance and moving bodies remain open.