- Home /
About Lerpz tutorial
Hi, I have a big problem with Lerpz tutorial, when I set the police cops they don't move to attack me, they only aproach to my possition a few centimeters, I don't know what its happening I have test with different values on the script but it doesn't work. What is the problem?
Lot of thanks for helping
Answer by Chizzler · Apr 18, 2011 at 09:52 AM
Running through the same tutorial. Encountered the same error. I suspect it's a bug that's occured with Unity 3 and that it worked correctly in Unity 2.
Either way, there is a solution I've come across.
1.) Place an enemy 'Copper' prefab into your level as instructed.
2.) Open up 'Copper' in your Hierarchy.
3.) Navigate to: Copper -> Root -> Base -> Waist1 -> Waist2 -> Torso -> Head -> Helmet
4.) Remove the Box Collider on the Helmet object.
5.) Test (It should now move correctly)
6.) Save enemy as a new prefab if desired. (remember, the original prefab hasn't been changed, so placing more copies of it in your level will require the changes to be made to each one)
Lot of thanks, it have worked! I don't understand why the Box collider cause this effect, but now works, thanks ;)
Your answer
Follow this Question
Related Questions
Lerpz Tutorial Enemy scripting problems 0 Answers
Enemy health bar over them and destroy actor 0 Answers
Projectile Boomerang 1 Answer
shooting an enemy with particles 1 Answer