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

Bug Bizarre issue with animation using Animation Rigging IK

Discussion in 'Animation' started by samlaserbeam, Dec 22, 2022.

  1. samlaserbeam

    samlaserbeam

    Joined:
    Oct 2, 2019
    Posts:
    11
    I just started using the Animation Rigging package to animate all of my first person arms, and it's been a godsend. But for some strange reason, the rotation in the left hand, (and a very minor amount in the right hand) is ever so slightly offset when the animation gets played in-game, making it look like the player is holding onto air. The animation is completely fine the animation window though.

    animatorcapture.PNG Here is the pose in the animator. The animation just bobs the "Anchor" transform up and down to create an idle effect, so the only keyframe that adjusts the IK target is at the beginning.

    gamecapture.PNG Here in the game view, you can see that the left hand is offset. The right hand is in the (mostly) correct position.

    I tried setting the weight of the "twisting correction" component to 0, but that didn't help. I'm genuinely not sure what is going on, so any help is greatly appreciated.
     
  2. samlaserbeam

    samlaserbeam

    Joined:
    Oct 2, 2019
    Posts:
    11
    For anyone coming across this in the future, I fixed this by going into the animation, right clicking on the rig component, and clicking "transfer motion to skeleton".