Survival Shooter Zombear and Hellephant not moving
From Survival Shooter tutorial on Unity website:
The Zombunnies are spawning correctly and chasing me but the Zombears and Hellephants are stuck in one place (their animations are playing but they are not moving away from their spawn-positions). How do I fix this?
i thing you should see the script in zombie maybe there is something missing
Answer by Ben_Iyan · Jun 22, 2017 at 02:37 PM
For anyone still having this problem, here is how I fixed it:
In the tutorial, Zombear and Hellefant are provided in the Models folder, but the package that I downloaded from the Asset Store did not have them. Therefore, I went to the _Complete-Game folder and copied these assets to my project. As mentioned above, neither of these assets would move from their spawn point. What I wasn't aware of is that in the completed project, they have changed some of the scripts. So, if you find yourself with this problem, simply go to the ZomBear and Hellefant prefabs, delete the three enemy scripts (Enemy Movement, Enemy Health, Enemy Attack) and replace with the script that you have developed while following the tutorial. It works great after that.
You might want to accept your own answer here, in case others run into the same problem.
Thanks so much for this answer. I ran into the same problem just today while completing Phase 9 of the project. Your solution was simple and clean! :)
Spent ages thinking I had done something wrong, thanks for your solution it worked!!!
Your answer
![](https://koobas.hobune.stream/wayback/20220612101327im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Survival Shooter problems 0 Answers
UNITY shooting script does nothing 1 Answer
How do I make a script for camera recoil recovery? 0 Answers
2 Issues with my SHUMP game 0 Answers
How to get proper version of script from another object? 1 Answer