Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    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:
    14
    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