Search Unity

Question Constraint Behaviour changes when combined with others

Discussion in 'Animation' started by SticklandPWorm, Feb 21, 2024.

  1. SticklandPWorm

    SticklandPWorm

    Joined:
    Apr 20, 2017
    Posts:
    20
    I have written a constraint which behaves as expected when used in isolation and constrains a bone and moves it's position. If I add another constraint, lower in the hierarchy, for example a chain constraint which uses the original constrained bone as it's target, the constrained bone will fire off into the distance.

    I do not understand how a constraint that is later in the running order, and is only getting the bones position (not even setting it) is resulting in the bone now receiving a different (incorrect) positon via .GetPosition(stream) in the original constraint.

    Can any one help with this please?