Patch that solves IK's with uniform scaled bones to allow bones with Y-only scale to be used in an IK chain.
(Requested by @Daniel Martinez Lara (pepeland), see )
This patch is quite simple.
- Before calculating IK's, make the bones uniform scale (match X/Z size to the Y axis).
- Calculate IK's with uniform scale.
- Apply the scale back after the IK's are calculated.
This is admittedly a workaround for supporting non-uniform scales in the solver, I stated to look into this, but this is quite involved - I suspect having rotations calculated predictably with non-uniform scale may be more trouble then its worth.
Heres a test file, see before after results:
Details:
- Tested with/without inherit scale option.
- If you delete the empty target, auto-IK with transform glitches a bit (moves after finishing transform), however even without this patch the problem exists.
- The patch could be modified to check for non-uniform scale per bone and only perform extra work when non-uniform scales exist, but this could cause issues with very small changes in scale causing jittering... so rather leave this as is for now.
This patch is just to get initial feedback.

