How enemy AI decide to dodge or block from player’s melee attack?

I’m wondering how enemy AI decide to dodge, block or other defensive move from players melee attack in game.

I just guessed simply that AI detects players attack movement and choose defensive movement.

How does enemy AI choose that movement?

I also wonder how to adjust AI’s dodge or block skillfulness. What is general method for this in common game?

Published by CelleSports

CelleSports is a Game development, News outlet, and Social Cell community. Build your cells or teams for any game and start communicating efficiently. Join us in building the number one eSport and gaming community in the World. Join Cell eSports

Leave a comment