What is the most effective way to prevent a dying monster's animation from obstructing AI paths?

Here is a gameplay video of my project to help you understand the issue.

The monster objects in my project have the following components:

  1. Seeker
  2. AIPath
  3. AIDestinationSetter
  4. RVOController

Originally, the monsters in my project would disappear immediately upon death without any effects or animations, so there were no issues. However, recently, to upgrade the quality of the game, I created individual death animations for each monster.

The problem now is that while the death animation is playing, the AI recognizes the monster as an obstacle in the path, creating unwanted obstructions.

What is the best way to solve this issue? Would it be best to simply deactivate the components?"

Hi

Disabling the components should do the trick, yes.

1 Like

Do I need to disable all four of these components:
Seeker,
AIPath,
AIDestinationSetter,
RVOController,

or is it sufficient to disable only some of them?

You just need to disable AIPath and RVOController.

1 Like