Feedback Required v1.7 - Improved AI controller

Discussion in 'FAQ & Feedback' started by Hummel-o-War, Dec 16, 2021.

  1. Hummel-o-War

    Hummel-o-War Administrator Staff Member Community Manager

    • Developer
    Joined:
    Jun 15, 2015
    Messages:
    5,506
    Likes Received:
    8,502
    New Character Controller for AI:
    A new character controller (CC) has been implemented in the game as a first iteration to improve AI movement. The goal was primarily to avoid the huge zig-zags of AI when moving in certain circumstances.

    The new controller affects only AI with the newest behavior and only outside while the AIs are on the terrain (not inside POI).
    This new CC could be extended later to other ground AIs if there is a need.

    What is new with the new CC compared to the old CC:
    The new CC smooths the path generated by the path finder :
    [​IMG]

    The white boxes are generated directly by the path finder. The blue/black cube is the smoothed version of the original path.

    The AI will now strictly follow the smoothed path (see above) contrary to the old CC where the AI was following only very roughly the path defined by the path finder especially at high speed :
    [​IMG]
    With the old CC here, the AI can be far from the path from time to time while zig-zagging (yellow) around the path defined by the path finder (white boxes).

    The fact that the AI position and movement are precisely controlled now at any speed allows some new behaviors like for example a raming behavior.

    Important : the AIs can still get stuck. It seems that the path finder still has in some cases some flaws and inaccuracies that sometimes lead to bad paths. This is an old bug that will be addressed soon.
     
    #1

Share This Page