Strange Behaviour for enemies

Hey guys,

I have this bug that happens when i click to move the player, the enemy closest to the “player” will move towards it’s direction, it only stops and moves back to its patrol path when i stop moving the player character. I’m going through the code in the AIController and Fighter scripts but cant seem to find anything that stands out.

Thanks for any advice.

never mind, when i looked at the prefab for the enemy i noticed it had a player controller script on it.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms