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.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Calll animation in others positions

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

  1. darthachill


    Jan 25, 2015
    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 (CSharp):
    1.  animation.Play("a");
    Thx for help