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.

Question Animation Transition Ignoring IK Constraint

Discussion in 'Animation' started by mjwalsh182, Apr 30, 2023.

  1. mjwalsh182


    Jun 23, 2020
    I have an IK constraint on the arm of the player for holding an item, and I increase the weight when the player picks up the item. The constraint works during both the Pick Up and Idle animations individually, but during the transition from Pick Up to Idle, the weight of the constraint drops to 0. How can I prevent the animation transition from modifying the weight value?

    I'm not sure what additional information to provide, but I have a script with an "isHoldingItem" bool and the constraint weight is set based on that bool. So I'm surprised that can be overwritten