oz-chasetailgames
Member
Hello,
I am using a modified version of AgentNolan's Behavior Tree. I am looking for a way to make the attack AI more natural by introducing some randomness, namely the following main attack segment:
I intend to make the AI character strike, then walk back maybe 1-2 units, wait a random amount of time, come in and attack again. What is your suggestion on how to make the character move back 1-2 units away from the player character (2.5D game)? It is not possible to set up a waypoint since the location of the player is not fixed.
Thank you.
I am using a modified version of AgentNolan's Behavior Tree. I am looking for a way to make the attack AI more natural by introducing some randomness, namely the following main attack segment:
I intend to make the AI character strike, then walk back maybe 1-2 units, wait a random amount of time, come in and attack again. What is your suggestion on how to make the character move back 1-2 units away from the player character (2.5D game)? It is not possible to set up a waypoint since the location of the player is not fixed.
Thank you.