Hi. I have an enemy and a player in my scene. The enemy has a navmesh agent component and a script to command the navmesh agent to chase the player. It stops the enemy at a distance where it can hit the player.
__
But, when the player tries to move through the enemy, the enemy’s collider doesn’t work and the player can go through the enemy.
__
I tested the same scene again with the script that commands the navmesh agent to chase the player disabled. And, I realized that the player collides perfectly fine with the enemy when the navmesh agent is not moving.
Any help plz?