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 Scaled Parent(s) Affecting Two-Bone IK Placement

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

  1. CreatureWithoutSpecies


    May 10, 2020
    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:


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


    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?