Search Unity

No animation for death ?

Discussion in 'Animation' started by skyLark9, Jun 14, 2018.

  1. skyLark9

    skyLark9

    Joined:
    May 2, 2018
    Posts:
    135
    Hi, I'm thinking to change my enemy animation death. All my enemies have one death animation. How to cancel or replace death animation with something make death act to last force hit it ?. such as bullet, grenade or strange force. example:


    This video explain what I want to do.

    Now, my enemy doll have animation "maximao" and IK, plus navmashAgent.
     
  2. theANMATOR2b

    theANMATOR2b

    Joined:
    Jul 12, 2014
    Posts:
    7,790
    Several examples and instructions on this. Search for active ragdoll on google and youtube.
     
  3. skyLark9

    skyLark9

    Joined:
    May 2, 2018
    Posts:
    135
    Thank you for your respond.
    OK, do I need to turn Animator or navmeshAgent off ?
     
  4. theANMATOR2b

    theANMATOR2b

    Joined:
    Jul 12, 2014
    Posts:
    7,790
    I believe both, though I'm not 100% on ragdoll setup so you will have to test. I only worked on animations for a system that was setup with ragdoll for death cycles, similar to what you are attempting to accomplish.
     
  5. skyLark9

    skyLark9

    Joined:
    May 2, 2018
    Posts:
    135
    I tried that. If I added rb to head with sphere collide and turned animator off. The head goes down like some one cut it !! I want it to stay on it place but free moving ?