so i am making a parkour fps game and i need help for going to walk animayion when moving
you should create an isWalking parameter as bool on the animator,then you can do that on your character’s script:
Animator animator;
void Start()
{
animator = GetComponent<Animator>();
}
void Walk()
{
animator.SetBool("isWalking",true);
}
then you simply give the transition the condition isWalking==true,as long as isWalking is true,your walk animation will loop,don’t forget to set isWalking false when you’re done with walking though