Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Bug Possible bug? Animation Rigging Foot IK still working if weight is 0

Discussion in 'Animation' started by carcasanchez, Sep 17, 2020.

  1. carcasanchez

    carcasanchez

    Joined:
    Jul 15, 2018
    Posts:
    177
    Hello,
    I am experimenting with the new Animation Rigging, and I have been happy so far with it.
    However, I have found a curious thing.
    I have this rig, and I want to ONLY have the Hips IK working.
    upload_2020-9-17_12-25-45.png
    Works cool:
    https://gyazo.com/3f53e324c9b44d4c5fc66ec1669fa66e

    HOWEVER. The foot IK I want to use is the one in the animator controller. Why? Because I don't want the foot animation be completely overriden by the Rigging Foot IK solvers.
    upload_2020-9-17_12-25-33.png

    What I should do is set the Weight of the IK Solvers now to 0, right?
    Code (CSharp):
    1. hStream.SetHintWeightPosition(ikHint, 0.0f);
    However, the rig behaves as if it still has a weight of 1!
    To fully deactivate the solvers, and preserve the foot animations while still having the IK working, I have to turn off the solver game object itself.
    https://gyazo.com/bbc1d1ce7c61b34d1ac5c197824e4d41

    Is this a known issue? Is the Animation Rigging not supposed to work with the animator controller foot IK? The rest of the limbs and targets work fine when changing the weights, so I suppose it is a particular issue.
     

    Attached Files: