duplicate enemies animations wont work?
I've been experimenting with unity for a couple years now and I've only used legacy animation. I recently started switching to mecanim for humanoid animation retargeting. I've almost figured it out except for one problem. When I duplicate enemies, the animations don't work properly. For example, one of my zombies(yes very cliche I know) will walk towards me like it's supposed to but the other would be stuck in idle and sort of float towards me. I thought that maybe making multiple animator controllers would fix the issue but that would be pretty inefficient as I plan to have lots of zombies. My code goes something like this (JavaScript)
If (player is close blah blah) Animtator.setbool ("chase", true);
If (player isn't close) Animator. setbool("chase", false)
Etc.
usually a quick Google search and I can find easy fixes to my issues or figure them out myself but this I'm really stumped on. Please , any help would be greatly appreciated. Thanks in advance.