Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Fixed AI Movement Fix and Boss

Robert Dionian

12/1/2023

Problem:

AI was pathing towards the player in a jerky motion, The problem was I had the AI set up to do one move per task, which was causing the enemy to not walk smoothly because of the delay between tasks. Another problem I am currently having is figuring out a way for the boss and the normal enemies to share a behavior tree. I have not been able to differentiate between the enemy being a regular enemy or the boss.

Solution:

I fixed this by having the AI traverse the whole path towards the player in one task. I have not come up with a solution yet, I am going to try a cast to check if the enemy is the boss and if it is then set an enum value for use with a BB decorator for a boss branch of the behavior tree.

Support this post

Did you like this post? Tell us