Fleeing Demo
Last updated
Last updated
The Fleeing Demo shows an AI fleeing from the camera. The AI will flee in the opposite direction of its current target. If it gets near an edge, it will generate a new destination to avoid getting stuck. This is done using the Coward Behavior set through the Behavior Component. While demo is shown with an NPC-like AI, it can certainly be used for things like animal AI.
Note: The camera can be controlled with the mouse and moved with the w, a, s, and d keys.