Script for a Unity3D third person character controller