- Home /
Scripts in project not going to hierarchy. HELP PLS
On the Lerpz tutorial i was trying to get the camera to go to third person following the character. So i tried to add the SpringFollowCamera to my NearCamera like it said in the tutorial pdf and for some reason it's not going to the hierarchy. I've tested around and it seems like the only thing that don't go to the hierarchy are the scripts for the cameras.
Answer by GesterX · May 03, 2011 at 11:32 PM
Are you trying to add the script to the camera? When you add it you need to drag it into the small space just below the last component. If you try to drag it "on to" an area in the inspector that is taken up by an existing script it won't let you drop it.
I'm trying yo drag it right in between the existing Nearcamera and Farcamera.
Don't drag it in between the existing scripts - add it to the bottom of the inspector below everything else.
On second thoughts is the SpringFollowCamera an actual object or a script? I know this isn't an answer to your question but the Lerpz tutorial isn't the best thing to do for an absolute starter. I would urge you to go to http://www.unity3dstudent.com/ and do all the essentail/beginner modules there. They're much shorter and $$anonymous$$ch you small chunks at a time. I found the Lerpz example to skip over the explanations
it still doesn't work. it says a variable target is not assigned.
Answer by Azerial · May 04, 2011 at 12:29 PM
did you add lerpz as the target of the script by dragging the player object into the script?
Your answer
Follow this Question
Related Questions
Third Person Camera Wall Covering Camera 0 Answers
3rd Person Camera & Controller C# 1 Answer
Aiming with a third person camera/positioning a third person camera 3 Answers
3rd person camera through wall 2 Answers
3drd person camera reset 0 Answers