Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Question How to prevent bone popping with Chain IK?

Discussion in 'Animation Rigging' started by adamgryu, May 18, 2021.

  1. adamgryu

    adamgryu

    Joined:
    Mar 1, 2014
    Posts:
    195
    I'm using the Chain IK, and it kinda snaps tight when it reaches the limit. Is there a way to soften / lerp the snap so it doesn't feel so rigid?

    popsmall.gif
     
  2. simonbz

    simonbz

    Unity Technologies

    Joined:
    Sep 28, 2015
    Posts:
    295
    Hi,

    The ChainIK constraint is an implementation of the FABRIK algorithm (http://www.andreasaristidou.com/FABRIK.html). It works by iterating towards a solution from the original pose you're giving it. For better results, try giving your giraffe neck an initial pose with a curvature to make sure this curvature is kept at runtime when the constraint evaluates.
     
  3. adamgryu

    adamgryu

    Joined:
    Mar 1, 2014
    Posts:
    195
    Thanks for the info, I'll let you know if that helps.