heres the problem, After I exported my blender object whit to animaations namely RUN.CHAR1 and IDLE.CHAR1 to fbx, it seems like unity doesnt recognize it. I tried to manually set the split animations and named it like the names of the animation in blender.
In some instance, only one animation is playing and the other one is cannot be find by unity.
here is my code
var speed : float = 0.00000000000000000001;
var rotationSpeed : float = 100.0;
function Update() {
var forward =Input.GetKey(“up”);
var translation : float = Input.GetAxis (“Vertical”) *1.87;
var rotation : float = Input.GetAxis ("Horizontal") * rotationSpeed;
translation *= Time.deltaTime;
rotation *= Time.deltaTime;
if (forward){
transform.Translate (0, 0, translation);
animation.Play("RUN.CHAR1");
transform.Rotate (0, rotation, 0);
}
}
that code work properly but putting all the animation in unity is my problem.