Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Question Animation clip is looping eventhough Loop Time is not checked

Discussion in 'Animation' started by ClosingTime, Mar 17, 2024.

  1. ClosingTime

    ClosingTime

    Joined:
    Nov 23, 2016
    Posts:
    264
    I have a state in animation controller that entered into if a bool parameter is set to true.
    If the parameter is set to false, it should exit.
    The animation is a change of stance, so it should be played only once and stay at the end frame.

    However, the animation is looping for some kind of a reason, eventhough Loop Time is not checked.

    Why is that?
     
  2. halley

    halley

    Joined:
    Aug 26, 2013
    Posts:
    2,596
    The state should have "can transition to self" turned off.
     
  3. ClosingTime

    ClosingTime

    Joined:
    Nov 23, 2016
    Posts:
    264
    That's only exist in "Any State"
     
  4. ClosingTime

    ClosingTime

    Joined:
    Nov 23, 2016
    Posts:
    264
    Ok, it was my mistake.
    I had a blend script that made it look like looping but only the blending was looping.