Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Weird rotation animation behaviour.

Discussion in 'Animation' started by Grafer, Sep 8, 2016.

  1. Grafer

    Grafer

    Joined:
    May 30, 2015
    Posts:
    19
    Hello.
    First of all, I was searching for this answer everywhere. I knew somebody must have asked for this before me. But I couldn't find anything :( I've failed.

    I am trying to make simple gunshot animation, where gun goes slightly up and then to his root position. I've made 3 frames:
    1. root position
    2. rotation in z axis goes to "-5"
    3. root position

    But instead of little bump animation, it goes around. It looks like this -> https://i.gyazo.com/c04fdbd9533e607bf0b3c07725366f25.gif .

    What am I doing wrong?
     
  2. DavidGeoffroy

    DavidGeoffroy

    Unity Technologies

    Joined:
    Sep 9, 2014
    Posts:
    542
    What version are you using?
    Can you post a screenshot of your animation curves?
     
  3. Grafer

    Grafer

    Joined:
    May 30, 2015
    Posts:
    19
    I am using Unity 5.3.5f1
    And there're curves
     
  4. DavidGeoffroy

    DavidGeoffroy

    Unity Technologies

    Joined:
    Sep 9, 2014
    Posts:
    542