Search Unity

  1. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Let us know a bit about your interests, and if you'd like to become more directly involved. Take our survey!
    Dismiss Notice
  4. Don't miss out on the Unite LA Keynote for the latest information from Unity! Set a reminder!
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  6. 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:
    18
    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,611
  3. aldrnari7635

    aldrnari7635

    Joined:
    Oct 2, 2017
    Posts:
    18
    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