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

Bug HumanAnimationStreamFeet IK Goal Weight Not Blending with Playable FootIK

Discussion in 'Animation' started by LudiKha, Aug 26, 2021.

  1. LudiKha

    LudiKha

    Joined:
    Feb 15, 2014
    Posts:
    139
    When setting a humanoid IK goal and weight through the HumanAnimationStream, the weight is not blended correctly when animator.

    The issue is that the goal position of the previous frame is taken for the blended position of the new frame, rather than the animated position, as the playable Feet IK is set to the goal position regardless of weight.

    It's noteworthy that this does _not_ happen in OnAnimatorIK using the
    Code (CSharp):
    1. animator.SetIKPositionWeight
    API - it only occurs in Animation Jobs.

    EDIT: I found a workable solution, posted here: Humanoid IK in Playables
     
    Last edited: Oct 17, 2021