I've been struggling to get player walking working using AC and the latest version of Unity. I followed the Mecanim character tutorial:
For a while I couldn't get the player to move forward at all. Now the player is walking when you press WASD but then the animation continues (without footsteps) and the player keeps walking forward after you are no longer pressing a key.
I should mention that I sam new to AC and pretty new to working with Mecanim in Unity, so I'm hoping it's just something obvious I'm not doing right.
reference video:
Here are my Player settings:
Heres my animation setup...
Thank you! I've been messing with this for about 2 weeks, I feel like I'm close to figuring it out but I just don't know what else to try.
Claire
Comments
1) Try using root motion with your character
3) Take a look at blendtrees - I was doing base level mecanim for a little while and was dealing with some similar issues with animations not really reflecting input/speed and whatnot. Once I started using blendtrees, it seemed to help quite a bit. It's not perfect by any stretch (I'm still trying to figure out how to get turn animations to work reliably) but it's much better than it was.
Check the value of the Animator's "MoveSpeed" float parameter when controlling the character. If it appears to be correct (ie. becomes the walk speed when pressing a key, becomes zero when letting go), then the issue will likely lie with the way the Controller's transitions are set up.