Search Unity

Make animation play But not return to original position

Discussion in 'Animation' started by piggybank1974, May 19, 2017.

  1. piggybank1974

    piggybank1974

    Joined:
    Dec 15, 2015
    Posts:
    621
    I'm not sure if you can do this with mechenim, as the title says make animation play but not return to original position, before it started.

    What I want to do it's bring a shield around for my character likes is protecting itself but I don't want the animation to reset after I have done this, I know I can turn off looping but that always reset the animation

    is this possible?

    Thanks
     
  2. jdscogin

    jdscogin

    Joined:
    Oct 26, 2014
    Posts:
    88
    In you animation transition, uncheck Has Exit Time.
     
  3. piggybank1974

    piggybank1974

    Joined:
    Dec 15, 2015
    Posts:
    621
    that's not what has exit time is for, this is for when you don't want to finish a previous animation e.g unchecked, else you want to start the new animation part the way though the old animation.

    I want a form of blend tree but not, e.g I could create two different animations but I don't want the other to effect the first.
     
  4. theANMATOR2b

    theANMATOR2b

    Joined:
    Jul 12, 2014
    Posts:
    7,790
    You'll need two animations the shield transition from back to front, and then the default carry shield animation.
     
  5. jdscogin

    jdscogin

    Joined:
    Oct 26, 2014
    Posts:
    88
    Also, make sure that your animation has Loop unchecked.