Search Unity

Question Scaled Parent(s) Affecting Two-Bone IK Placement

Discussion in 'Animation Rigging' started by CreatureWithoutSpecies, Jul 11, 2022.

  1. CreatureWithoutSpecies

    CreatureWithoutSpecies

    Joined:
    May 10, 2020
    Posts:
    5
    My project uses a traditional orthographic overhead view by rotating the "world" (a parent object in the hierarchy called "The Cosmic Turtle") 45 degrees and stretching it by Sqrt(2) a la Enter the Gungeon. I do the rotating and scaling via script in the Awake function so I can do all the level editing with a normal scale and rotation.

    This weekend I've been working on using animation rigging and IK for a simple bicycle rig for the main character. This is how I've set it up:

    upload_2022-7-10_17-22-55.png

    Unfortunately, the rig doesn't play nicely once "The Cosmic Turtle" has been scaled:

    upload_2022-7-10_17-24-19.png

    As you can hopefully see, the hand placement is way off in the scaled version.

    I've tried scaling the world parent before start up, and I've also tried using rigBuilder.Build() after scaling, but the problem persists. I've been searching the forums and Google today and haven't found a solution.

    Anyone got any advice?