I hired a pilot to level up, and wanted to go do some things at a wharf, so instead of flying there myself, I told the pilot to fly there and then just stood behind her for the ride.
Once we got near the station, the AI decided the smart thing to do was NOT to request docking and then follow the nice green path to the docking bay, like a normal pilot.... but instead, blindly ram into the station, eventually passing through several layers of hull and getting stuck inside a bulkhead for 10 minutes, slowly ramming back and forth blindly, until it finally either found a 1 pixel crack, or just phased through the bulkhead again, and then bumped its way around the outside until if stumbled into the docking bay, and requested docking 2 inches from the landing pad.
Maybe... use your own path finding code that already draws a proper landing path and request docking BEFORE the ship is actually inside the station? Just a thought...
I love you guys, but sometimes over-optimizing is actually NOT optimizing at all.
