3rd person camera script

Any body got a good 3rd person camera script that avoids obstacles from the view so the player is in view but with the freedom of movement via mouse control?

I wrote this about a year or so ago.

http://forum.unity3d.com/viewtopic.php?t=18073&highlight=wow+camera

try this:- http://blockmonkey.com/my-work/unity-3d-work/

verrrry simple prefab...