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

Play a Humanoid animation seem to be incorrect skeleton leg position

Discussion in 'Animation' started by Lynxgate, Dec 13, 2019.

  1. Lynxgate

    Lynxgate

    Joined:
    Sep 29, 2015
    Posts:
    4
    Hi.
    I found play a humanoid with playable API will cause left/right lower/upper leg bone update with some incorrect position and rotation.
    The case is blending between animator controller animation and animationclip with playable API.And blend them using AnimationLayerMixerPlayable, include two port : AnimatorControllerPlayable and AnimationClipPlayable, and they have the same animationclip playing.When i set weight for port 1(AnimationClipPlayable) to zero, it plays perfectly(animator controller plays perfectly).Then i set weight to 1, it play incorrect(wrong position and rotation in leg bone).

    Later i try the same case with generic animation, it play perfectly...Is there some bug with playable or humanoid? need a help!

    record.gif
     
  2. Lynxgate

    Lynxgate

    Joined:
    Sep 29, 2015
    Posts:
    4
    I have uploaded my test project create by unity 2019.2.11f.
    There are two models in scene:humanoid and generic.
    Dragging Anim Playable Weight's silder of humanoid model from 1 to 0 will cause jitter because of incorrect leg's position/rotation.But no jitter in generic model.

    https://www.dropbox.com/s/ovb8p4ytdt32xyn/PlayableTest.rar?dl=0
     
  3. Bogdan_Nikolayev

    Bogdan_Nikolayev

    Joined:
    Dec 29, 2020
    Posts:
    9