CharacterMotor

This is the official CharacterMotor.js (Unity 4.x) standard asset script ported to C#. It's the successor to the FPSWalker.js (Unity 2.x) script and predecessor to the FirstPersonController.cs (Unity 5.x) script. Although it lacks some of the enchantments found in it's predecessor, this script is arguably superior because of it's smoother motion and better responsiveness and is highly recommended for CharacterController (non-physics) based player control.

Important Notes
This script DOES NOT handle player input or mouse look. It only handles moving a CharacterController based on the inputMoveDirection and inputJump values. Mouse look can be handled by a custom script or one found in the latest Standard Assets package. Player input can be handled by a custom script that simply sets the inputMoveDirection and inputJump values, or you can obtain the original scripts designed to be used in combination with this one (MouseLook and FPSInputController) from the character controller package that comes bundled with Unity 4.x.