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

Humanoid with tail, working and not

Discussion in 'Animation' started by Menn007, Oct 21, 2019.

  1. Menn007

    Menn007

    Joined:
    Sep 20, 2015
    Posts:
    23
    Hi
    I am trying to setup a humanoid character with a tail.
    At the moment I have 2 basic animations; idle and running

    I have setup the character as a humanoid and in the inspector I have specified both animation clips from the timeline.
    Both play accordingly in the little 3d preview window in the inspector, including the tail animation

    The animator controller is setup really simple with only 2 transitions.
    When I run my game the idle animation is working properly (with tail), but when I move the character, he is animating but the tail section is not.
    I am checking over and over the setup and settings but I cannot find out why a part of the character is not animating in one clip and is working in the other clip.

    Does anybody have a clue where to look to fix this?


    best
    M
     
    Last edited: Oct 29, 2019
  2. Menn007

    Menn007

    Joined:
    Sep 20, 2015
    Posts:
    23
    Often the story goes; when you finally ask a question on a forum, the problem gets fixed ;-S
    So what did I do to fix this;
    The running clip is the first on the character timeline. I deleted this clip and re-defined a new running clip. This is now the second animation clip. I guess for some reason all bones get now activated.

    I also noticed in the animation dope sheet, the tail bones are a child of the "Animator.Upper Chest Twist Left-Right" which is strange.
    but for now it is working :)
     
  3. Menn007

    Menn007

    Joined:
    Sep 20, 2015
    Posts:
    23
    This issue is still driving me nuts. Let me explain;
    I have setup the same character as a humanoid (see attachment 1)
    In the inspector panel when playing the clip, the tail is animating. (see attachment 2)
    Now when I select the same clip in the project panel (see 3)
    the tail is not animating (see attachment 4)

    I hope I totally missed some checkbox or so, or is this a bug?
    Currently I am using Unity 2019.2.4f1

    Menno



     
  4. ibernd

    ibernd

    Joined:
    Jun 24, 2019
    Posts:
    16
    Hi,

    to get your additional bones in with your human avatar rig work properly, you have to create a mask definition
    that knows the bones of that tail.

    1. Create and open an avatar mask
    2. Import your human avatar under Transform > Use skeleten from
    3. Check all bones of the hierarchy (not the meshes)

    Additionally this mask has to be set in your models Import Settings: Animation Tab > select a animation > Mask > Definition > Copy From Other Mask > select your created mask
     
    Last edited: Nov 15, 2019
    Bruno_100 likes this.
  5. Bruno_100

    Bruno_100

    Joined:
    Jul 29, 2020
    Posts:
    5
    Thank you so much this worked fine for me! :)
     
  6. Jay-Ian

    Jay-Ian

    Joined:
    Dec 29, 2018
    Posts:
    1
    T
    Thank you so much!! This solved the issue for me as well!!!