Search Unity

How to make restart animation?

Discussion in 'Animation' started by leegod, Aug 21, 2019.

  1. leegod

    leegod

    Joined:
    May 5, 2010
    Posts:
    2,476
    So when being hit by monster, character plays hit motion.

    But when playing that hit motion, if being hit again, I want it replay from the beginning.

    How to achieve this?

    I am using Animator controller and made "GetHit" trigger and SetTrigger for activate that hit motion.