Animator Parameter not linking to script variable
Hi all,
I am trying to make a simple 2d movement script which plays an animation when the speed hits greater than 0.1, however the script does not seem to be affecting the animator at all. Take a look below
:
Seeing the data you've provided, I could say only one thing: everything have to work fine, if only you monitor the proper instance of the animator and if you have the animation file assigned to the 'PlayerWalkRight' state (though it should show transition effects in the animator window anyway).
It's definitely set to the right animation file. $$anonymous$$y code looks exactly like all the others I've seen so I feel it is a problem with the animator. Do I have to reference the AnimationController in the script?
Your answer
Follow this Question
Related Questions
Falling blocks skip animation while upside down 1 Answer
The name animator does not exist in the current context... Help? 1 Answer
how to make an animation to play when a int has a certain value, and pressing space key? 0 Answers
Animator consecutive set parameter problem 0 Answers
Animation location problem! 0 Answers