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

Question Animating Rig Constraints from a Syncronized Layer causes Character to sink into the floor

Discussion in 'Animation Rigging' started by dudleyhk, May 9, 2022.

  1. dudleyhk

    dudleyhk

    Joined:
    Sep 27, 2017
    Posts:
    13
    I've been reading and implementing the techniques from the Blog post 'Advanced Animation Rigging: Character and props interaction' and for some reason, some of the animations that affect the Rig Constraints cause the character to sink to the floor similar to if there are no animations playing. Unlike in the Blog post, I'm transitioning from the Timeline animations into my State Machine and transitioning to and from animations via scripting.

    I've tried turning off the FootIK option for all clips which I thought might work as it mentions in the documentation that FootIK only works for Humanoid types. If I remove the initial Rig_Idle clip then subsequent clips don't cause the sinking, however, using Animator.CrossFade into a different state still occasionally does. It was working for a while, would love to find an effective way to see what's happening with the transitions and how something may be causing this issue. Thanks.

    Knife Layer Rig Idle No IK.PNG Knife Layer Knife Blend Rig Grip.PNG Sinking using same controller wont happen if use NoMotion first.PNG
     
    Last edited: May 10, 2022