Hi! I need help, I'm just starting with Unity and C, and I've been following the tutorials almost perfectly (I have to admit that i didn't watch any theory video, I'm making a little game for a project and i have a deadline, so I'm trying to advance as fast as possible)

Well, here's the problem: I created a character and animated it with Daz Studio, which has 5 animations: Idle, Jump, Knee (the character kneels), StandUp and Walk. But he won't move! I mean, he still flies around.

I followed all the instructions and this is the code i've got:

Code:
using UnityEngine;
using System.Collections;

public class TP_Animator : MonoBehaviour
{
    public enum Direction
    {
        Stationary, Forward, Backward, Left, Right,
        LeftForward, RightForward, LeftBackward, RightBackward
    }
	
	public enum CharacterState
	{
		Idle, Jump, Knee, StandUp, Walk, Dead
	}

    public static TP_Animator Instance;

    public Direction MoveDirection { get; set; }
	public CharacterState State { get; set; }

    void Awake()
    {
        Instance = this;
    }

    void Update()
    {
		DetermineCurrentState();
		ProcessCurrentState();
		
		Debug.Log("Current Character State: " + State.ToString());
    }

    public void DetermineCurrentMoveDirection()
    {
        var forward = false;
        var backward = false;
        var left = false;
        var right = false;

        if (TP_Motor.Instance.MoveVector.z > 0)
            forward = true;
        if (TP_Motor.Instance.MoveVector.z < 0)
            backward = true;
        if (TP_Motor.Instance.MoveVector.x > 0)
            right = true;
        if (TP_Motor.Instance.MoveVector.x < 0)
            left = true;

        if (forward)
        {
            if (left)
                MoveDirection = Direction.LeftForward;
            else if (right)
                MoveDirection = Direction.RightForward;
            else
                MoveDirection = Direction.Forward;
        }
        else if (backward)
        {
            if (left)
                MoveDirection = Direction.LeftBackward;
            else if (right)
                MoveDirection = Direction.RightBackward;
            else
                MoveDirection = Direction.Backward;
        }
        else if (left)        
            MoveDirection = Direction.Left;        
        else if (right)
            MoveDirection = Direction.Right;        
        else
            MoveDirection = Direction.Stationary;
    }
	
	public void DetermineCurrentState()
	{
		if (TP_Controller.CharacterController.isGrounded)
		{
			if (State != CharacterState.Dead &&
				State != CharacterState.Jump &&
				State != CharacterState.Knee &&
				State != CharacterState.StandUp)
			{
				switch (MoveDirection)
				{
					case Direction.Stationary:
						State = CharacterState.Idle;
						break;
					case Direction.Forward:
						State = CharacterState.Walk;
						break;
					case Direction.Backward:
						State = CharacterState.Walk;
						break;
					case Direction.Left:
						State = CharacterState.Walk;
						break;
					case Direction.Right:
						State = CharacterState.Walk;
						break;
					case Direction.LeftForward:
						State = CharacterState.Walk;
						break;
					case Direction.RightForward:
						State = CharacterState.Walk;
						break;
					case Direction.LeftBackward:
						State = CharacterState.Walk;
						break;
					case Direction.RightBackward:
						State = CharacterState.Walk;
						break;
				}
			}
		}
	}
	
	void ProcessCurrentState()
	{
		switch (State)
		{
			case CharacterState.Idle:
				Idle();
				break;
			case CharacterState.Jump:
				Jump();
				break;
			case CharacterState.Knee:
				Knee();
				break;
			case CharacterState.StandUp:
				StandUp();
				break;
			case CharacterState.Walk:
				Walk();
				break;
		}
	}
	
	#region Character State Methods
	
	void Idle()
	{
		animation.CrossFade("Idle");
	}
	void Jump()
	{
		animation.CrossFade("Jump");
	}
	void Knee()
	{
		animation.CrossFade("Knee");
	}
	void StandUp()
	{
		animation.CrossFade("StandUp");
	}
	void Walk()
	{
		animation.CrossFade("Walk");
	}

	#endregion
}
My character has all the animations set (apparently) correctly, I really don't know what i'm failing in..

Please tell me what I am doing wrong, I'd really appreciate your help!


P.S.: Sorry for any mistakes i may have made while writing, i'm Argentinian.