i have simple and annoying problem
i just wanna animate my character to specific movement in specific moments
but i doesn’t seem to work
my code here, very simple
if it execute itself, character should animate as “Run”.
but it is actually “Idle”
i have no idea what’s going on here.
maybe it happens by the particular properties of each anim??
here is the my anims info
I think I would need to see the whole context of where you are using the code. But my guess is that you aren’t using Animator.ResetTrigger() to turn the one you aren’t using off.
So, something like this maybe(?):
// when you want to idle
//when you want to run
I would probably need to see the full context to help anymore though.