SmoothFollowWithCameraBumper

Description
Designed to prevent the camera from passing through objects while following the target. A ray is cast out the rear of the target and if it collides, the camera will adjust to prevent passage into the object.

Contributions
(Created CSharp Version) 11/2010: Daniel P. Rossi (DR9885)

(Added Check for Ray-casting into User) 11/2010: Daniel P. Rossi (DR9885)

Usage
Place this script onto a camera and select camera target in Inspector. Tweak bumper settings to achieve desired affect.