Third Person Controller Script Help

I want to make a Third Person game and I cannot find any tutorials on how to make a scripts where the player moves and the camera moves if you press and hold the middle mouse button. Also, the camera can’t go through walls and such. Just like for Xbox games. The player is standing there and when you move the right stick, the player doesn’t move but the camera does. That is what I want. I have NO start in this as I have never done this. I know how to code a first person controller but not this. I can code in JavaScript OR C# but not Boo. But, who uses Boo? Anyway, please help me if you can. Just post a script or something!

EDIT: And no, the default Third Person Controller is not the type I am looking for…

this guy “camera controls” 32 and on… i only watched 32, he said he was going to make a camera that doesnt go thru walls… my game is overhead doesnt need this… i dunno how to do it either.

parent camera to an empty that follows the player… then you can give commands to move the empty… is a way…

public gameobject player

Update()
{
   transform.position = player.transform.position
}

Thank you. You said that you camera is above and I think I could switch it to that anyway. Thank you, will research this more some other time!