- Home /
Lerpz Tutorial Enemy scripting problems
Hi, I have been following the 3d platformer tutorial and have been able to sort out most of the problems that have come up so far. However, I'm now up to the part where you add the enemies (robots) and keep getting the error:
NullReferenceException UnityEngine.CharacterController.SimpleMove (Vector3 speed) (at C:/BuildAgent/work/b0bcff80449a48aa/Runtime/ExportGenerated/Editor/NewDynamics.cs:2086) EnemyPoliceGuy+$Idle$47+$.MoveNext () (at Assets/Scripts/Enemies/EnemyPoliceGuy.js:99)
I'm only a beginner when it comes to programming, so have very little understanding of the actual error, (I'm using Unity 3.5 BTW).
The other problem that I am having is in regards to the Lerpz attack script (ThirdPersonCharacterAttack.js). I keep getting a "Enemy is not defined" error whenever I try to get him to punch.
Any help would be appreciated, Thanks,
Your answer
Follow this Question
Related Questions
About Lerpz tutorial 2 Answers
update GUI texture when a enemy car dies 1 Answer
Complete AI Tutorial? 1 Answer
Problem with the enemy 0 Answers