Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Calll animation in others positions

Discussion in 'Animation' started by darthachill, Feb 1, 2015.

  1. darthachill

    darthachill

    Joined:
    Jan 25, 2015
    Posts:
    27
    Description:
    I created Enemy( Character Conttoller), after that I add simple death animation, but when my Enemy fallow me and die, animation will play in place when he was born(when I created animation)
    I want to call animation in place when I killed opponent. How can i fix this simple problem ?

    Code:
    Code (CSharp):
    1.  animation.Play("a");
    Thx for help