Open Spoffy opened 4 years ago
Can't it be integrated into the current FSM? Give it a "_previousVehicle" parameter and slow the vehicle down if it comes to close to it and speed the vehicle once the distance is too large
It could, but I'd rather have a seperate FSM for it - they logically separate concepts. One is following a path, the other is following a vehicle.
By keeping them de-coupled, we help ourselves be flexible in the future.
How about doing a convoyFSM, which reduced the code which need to be executed?
@Spoffy you think this can be done in 2.3 AI or postponed to 2.4?
Because of the FSM implementation, the build in convoy separation doesn't work. We'll need another FSM to "follow vehicle" in order to build proper convoys.