Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. 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?