• EditorBugs
  • Path Constraint abnormal behavior

Hello, I am trying to parent constraint bones that control the spline curve that a chain of bones are constraint to, but path constrained bones seem to be influenced by the constraints of a parent bone. Is it a bug or its a normal behavior and there is a way to deal with it?

    Related Discussions
    ...

    softdrawart I guess what you need to do to fix it is just turn off the Scale inheritance of bone18. From that video, I am not sure what the scale value is because it is just out of the captured area (also the fact that both of the bone icons are no-length bones is another reason why it is hard to tell what the scale is), but when the parent of bone18 is changed to bone22, the position of bone18 does not change, so I think that bone18 is scaled under the influence of bone22's scale value. Could you check if this solves the problem?

    7 jours plus tard

    unfortunately no, all of the bones scale is 1,

    test.spine
    2kB

      softdrawart
      Hello, I've checked the project.
      The issue that is causing this behavior is the incorrect constraint order coupled with the fact that bone22 moves in setup after the transform constraint is applied.
      What happens is that constraints are calculated from top to bottom in the constraints node, and the transform constraint "bone20" is applied AFTER the path position is determined by "dzsdfs" resulting in the bones moving because they are following the constraint applied after.

      To fix this:
      Move the constraint "bone20" at the very top of the constraint node list, and only then attempt to reparent the bone.

      More about constraint order if you're curious and would like to understand this better:
      http://esotericsoftware.com/spine-constraints#Order