|
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.
(comments are locked)
|
|
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.
May 03 '11 at 11:42 PM
Leonardo Leddy
Correction: yo = to*
May 03 '11 at 11:42 PM
Leonardo Leddy
Don't drag it in between the existing scripts - add it to the bottom of the inspector below everything else.
May 03 '11 at 11:44 PM
GesterX
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 teach you small chunks at a time. I found the Lerpz example to skip over the explanations
May 03 '11 at 11:53 PM
GesterX
it still doesn't work. it says a variable target is not assigned.
May 03 '11 at 11:55 PM
Leonardo Leddy
(comments are locked)
|
|
did you add lerpz as the target of the script by dragging the player object into the script?
(comments are locked)
|
