how can i play my own Walk Animation while moving my character forward using the W key?
I asked in the Forum but did not understand the answer there.
Here's a guide on how you can use the Input Axis in Unity to control movement on how to play or stop an animation based on the current value of an axis.
answered Dec 22 '09 at 10:26 AM
There is an script for player motion in Unity's Standard Assest's. Put that on you character and a character controller, which the script requires so it will do on its own, then adjust the size of the controller. Add this code at the beginning:
Add this code after the controller.move:
For the animation, use CrossFade to get smooth blending;
answered Feb 12 '10 at 11:57 PM