Camera collision

Im using the third person sample, and I cant for the life of me figure out how to stop the camera from clipping through the walls and floor.
Any advice?

Take a look at changing the clip plane distance.

This video is a Third person Camera setup. He goes over Distance and how to not collide or slide the camera somewhere else when you turn into a wall ect.