Search Unity

Scaling Rigged Character with IK Warps Mesh?

Discussion in 'Animation' started by JudahMantell, Mar 2, 2021.

  1. JudahMantell

    JudahMantell

    Joined:
    Feb 28, 2017
    Posts:
    476
    I hope this is the right place on the forum for this post--I figured since it has to do with rigging (kinda) it fit here...

    So in my game, I give players the ability to pose and scale humanoid models. Long story short, these models are loaded at runtime, and I am not using Unity's animation or animator component to do this--it's just skinned meshes with skeletons. Each of the limbs has an IK script (this fantastic one), and the players can move the target objects around to pose the model. These objects can be parented or not, doesn't matter. But, when I try to scale the object up or down (as is required in my game), the entire model gets warped. All the IK target objects stay where they are, but the rest of the body kinda goes crazy. I'm looking for some help to fix this issue...
    You can see what I mean in this video. Hopefully it also provides context that might help.



    I would appreciate any and all help!