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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Bird wing animation flaps in opposite direction???

Discussion in 'Editor & General Support' started by Ricks, May 11, 2014.

  1. Ricks

    Ricks

    Joined:
    Jun 17, 2010
    Posts:
    650
    Hello I stumbled upon a weird issue:

    I got an animated bird which flaps its wings upwards - and in the animation preview in Unity it plays correctly - but when I play the animation in the game the wing flaps downwards. Anyone else encountered this issue... and know what#s the reason for it?

    Edit: found that it happens when using as an additive animation. It plays correctly in a blending loop though...???
     
    Last edited: May 11, 2014
  2. Loius

    Loius

    Joined:
    Aug 16, 2012
    Posts:
    546
    Is the wing bone rolled around its local Y axis?
     
  3. Ricks

    Ricks

    Joined:
    Jun 17, 2010
    Posts:
    650
    I thought of that too. No, it isn't.

    Meanwhile I eventually got a clue, which is I maybe do not execute animations correctly.
    So the wing starts from an upper position and then going downward, while the idle loop is the wing in a horizontal position. When I use the wing as additive animation it starts by going downward from the horizontal position instead of the upper position. In fact it never goes to the upper position at all, it's like he takes the horizontal position as the origin.
     
  4. Ricks

    Ricks

    Joined:
    Jun 17, 2010
    Posts:
    650