Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Metalcoder · Aug 01, 2012 at 02:26 AM · tutoriallerpz

Lerpz do not move at all

I'm following the official 3d tutorial for Unity 2.0, but on Unity 3.5. I'm at page 19, and at this part I'm supposed to adjust the player capsule collider, and then hit play. I did it, and Lerpz is supposed to move whenever I press the arrow keys, but nothing happens besides the camera starting from afar, and then closing on him.

I had to tweak the FadeoutLineOfSight.js script, since the compiler complained about it's redeclaration of newMaterial. So, on line 125 I changed

 for (var newMaterial in fade.alphaMaterials)
  Destroy(newMaterial);

To

 for (var anotherNewMaterial in fade.alphaMaterials)
  Destroy(anotherNewMaterial);

Also, I've got tons of this error message on the console:

 NullReferenceException
 FuelCellGlowLookAt.Update () (at Assets/Scripts/Misc/FuelCellGlowLookAt.js:7)

And some of this too:

 NullReferenceException
 ThirdPersonController.UpdateSmoothedMovementDirection () (at Assets/Scripts/Player/ThirdPersonController.js:105)
 ThirdPersonController.Update () (at Assets/Scripts/Player/ThirdPersonController.js:320)

Any of these has some relation with Lerpz stubbornly standing still? Idf not, somebody can give some advice?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by beef-Supreme · Aug 29, 2012 at 02:03 PM

Hi - I'm just learning Unity too. I was having this exact problem and was looking for the answer and found your question. I hadn't noticed all the errors in the console until reading this post, but I had them too - and this lead me to the answer :)

It turns out that 'NearCamera' in the hierarchy had been assigned the tag of 'Player' rather than 'MainCamera' which was causing errors because the scripts are referencing Camera.main.transform - which needs this tag to be set correctly - see Camera.main script reference

To rectify this - select the NearCamera in the hierarchy, then in the inspector change the tag to MainCamera. Then select Player in the hierarchy and check in the inspector that it has the tag of Player.

That fixed it for me and now I can continue with the tutorial! :)

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Metalcoder · Aug 30, 2012 at 01:07 PM 0
Share

I gave up on it, and ins$$anonymous$$d I started with something simpler, with this tutorial. It's really cool, and I learned a lot. I'll give another try on the official tutorial later, and your answer will come in handy. Thanks!

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Lerpz tutorial problems 2 Answers

Lerpz tutorial page 22 1 Answer

LevelStatus in the 3D Platformer tutorial refuses to work(Using Unity 3.5). 0 Answers

Lerpz Tutorial Jumping Pad Issue 0 Answers

Lerpz Tutorial Problem 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges