Hello, I am new to the boards. I have a few years (2001ish) experience doing game development with other platforms such as BYOND and Gamemaker, but now that Unity is free I'm definitely interested in checking it out.
I picked up the 2D tutorial because I think it will be easiest to work with 2 dimensions in a 3D environment, since all my other work has been 2D.
But on to my problem! I might be an idiot (you tell me), but essentially I have followed the 2D Tutorial up through page 20, which is where I add and configure the camera.
When I run the game, the camera briefly (0.3~ seconds) focuses on whatever it was positioned at in the scene window, then immediately warps to some other position. If I watch it in the inspector, here's what happens:
Starts at -10,80,-15 then warps to 8,15,-15 (with some decimals) and then slowly climbs to 8,51,-15, as if it's deaccelerating after focusing on something.
I gave the Main Camera the CameraFocus and CameraScrolling scripts, I set my Target to "Character (Lerpz)" with the vector icon (not the cube icon), and I set the Target Button Name to "Player".
Every object in the hierachy has a Z index of 0 (except the camera, which is -15 and seems to correspond with the "distance" variable of the CameraScrolling script, too.
Lerpz is placed properly, and he actually falls onto the platform (I can see in the inspector) and I can make him move around, but the entire time the camera is just looking off into the skybox somewhere.
Any ideas what I screwed up? =D
I originally posted this on the forums before I realized this is the better place for answers: http://forum.unity3d.com/viewtopic.php?t=39425