- Home /
New Animation, Starting at last position of Previous Animation
I have an Animation that plays when an enemy is hit, that switches over from its usual "patrol" animation, so to speak. However, the new animation plays at the base of the enemy's position instead of starting at the point of contact.
I don't even have a Position value set for this new Animation, just Rotation and Scale.
There was talk on some posts here about checking (And unchecking, curious enough) Apply Root Motion, neither of which have worked for me.
Anything I missed? (I imagine so, but I've tried a few things and nothing has worked.)
GameObject.FindGameObjectWithTag ("Enemy"); Debug.Log ("Bounce"); other.gameObject.GetComponent ().Play ("Bug Hit"); other.gameObject.transform.rotation = Quaternion.Euler (180, 0, 0);
Your answer
Follow this Question
Related Questions
DetectSphere - No physics 1 Answer
Make enemy Flash when Hit 3 Answers
enemy follow player 2d sidescroller rpg 0 Answers