need help with animations for third person controller

Im working a on a Lord of the rings fantasy meets minecraft survival type of game (voxel survival) and i finished a character with a mixamo rig with a standing, running and jumping animation. I set up the character with in the Unity scene editor by replacing the capsule in the First person controller with my player model and I pulled the camera out of the model and made it third person. I also adjusted the model in the character controller collision capsule thing. Everything works perfectly but I just need to know how to attach the animations (running, standing/idle and jumping) with the character controller movements. Can someone please help thx :slight_smile:

also can someone help explain what legacy is?

How about this? Your character will animated when run to left,right,front and back. But you need to make the animation first and make it legacy. When the character stand it will in “idle”.

using UnityEngine;
using System.Collections;

public class PlayerAnimation : MonoBehaviour {
	Animation animasi;

	void Start () {
	animasi = GetComponentInChildren<Animation>();

	}
	
	// Update is called once per frame
	void Update () {
	float v = Input.GetAxisRaw("Vertical");
	float h = Input.GetAxisRaw("Horizontal");
		
		if(v >0){
			animasi.Blend("runFront");
		}else if(v < 0){
			animasi.Blend("runBack");
		}else if(h > 0){
			animasi.Blend("runRight");
		}else if(h < 0){
			animasi.Blend("runLeft");
		}else{
			animasi.Blend("idle");
		}
	}
}

using UnityEngine;
using System.Collections;

public class PlayerAnimation : MonoBehaviour {
Animation animasi;

 void Start () {
 animasi = GetComponentInChildren<Animation>();

 }
 
 // Update is called once per frame
 void Update () {
 float v = Input.GetAxisRaw("Vertical");
 float h = Input.GetAxisRaw("Horizontal");
     
     if(v >0){
         animasi.Blend("runFront");
     }else if(v < 0){
         animasi.Blend("runBack");
     }else if(h > 0){
         animasi.Blend("runRight");
     }else if(h < 0){
         animasi.Blend("runLeft");
     }else{
         animasi.Blend("idle");
     }
 }

}