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. Dismiss Notice

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

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

  1. carcasanchez


    Jul 15, 2018
    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.
    Works cool:

    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.

    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.

    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: