Search Unity

  1. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  2. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  3. Want more efficiency in your development work? Sign up to receive weekly tech and creative know-how from Unity experts.
    Dismiss Notice
  4. Participate with students all over the world and build projects to teach people. Join now!
    Dismiss Notice
  5. Build games and experiences that can load instantly and without install. Explore the Project Tiny Preview today!
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  7. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

how to make animations keep looping?

Discussion in 'Animation' started by aldrnari7635, Oct 3, 2018.

  1. aldrnari7635

    aldrnari7635

    Joined:
    Oct 2, 2017
    Posts:
    19
    Hi all, i'm using unity 2018.1.3f1. I am setting up a character to walk forward. When the animation reaches the end of the walk forward file. It goes back to the idle state and keeps plays the idle animation. Then goes back into the entry animation until I press the walk foward ( W) key. The animation tree starts with a green " Entry" box with a red arrow pointing to the orange " Idle" box. The idle box points with a white arrow to the grey "walkforward" box. The walk forward box points to the "idle box with also a white arrow. ( There are 2 white arrows.)

    How do I make the walk forward animation loop as long as I hold down the "W" key?

    p.s. : I followed all steps in this video on youtube,

    Mecanim Tips- Basic Walk Scripting.

    Except i used diffrent bvh files.
     
  2. Mecanim-Dev

    Mecanim-Dev

    Unity Technologies

    Joined:
    Nov 26, 2012
    Posts:
    1,619
  3. aldrnari7635

    aldrnari7635

    Joined:
    Oct 2, 2017
    Posts:
    19
    Thank you very much.

    All I had to do was click the arrow under my character's name. Then click "select" in the inspector panel. Then Click "Animations" Then scroll down to "loop time" And click that. Done! :D