Final IK Bridge Effectors missing non dominant hand at runtime

tensor

New member
It seems like when I have a weapon in the right hand, the non dominant hand (left hand) it's loses effectors transform with final IK fullbodyIK, is this intended?
I need these effectors for other animations.
I suppose I could just add them back at run time?
 
Are you saying that within FInalIKBridge.SetItemIKTarget it is setting a null transform?
 
I am sorry ill be more clear.
These are the steps I am taking.
1. Apply Effectors Target's to the Final IK component.
2. Run with FullBodyBipedIK.
print(m_FullBodyBipedIK.solver.leftHandEffector.target);
print(m_FullBodyBipedIK.solver.leftShoulderEffector.target);
are both null.
I am not sure what the code is doing, I don't see these two values being set to null in the code :S
These two become null in the inspector as well.
 

Attachments

  • EffectorsBecomeNull.png
    EffectorsBecomeNull.png
    116 KB · Views: 4
So confirmed, when I remove FinalIKBridge, this isn't a problem, the effectors targets for the non dominant hand stay.
 
FinalIKBridge.SetItemIKTarget sets the effector targets, and this is likely what is causing it. You could modify this method to support your use case.
 
print(effector.target);
print(elbowEffector.target);
print(m_FullBodyBipedIK.solver.leftHandEffector.target);
print(m_FullBodyBipedIK.solver.leftShoulderEffector.target);
I was curious about this, it just sets it to null apparently :S why though ? I am looking for a way around this right now but need to understand the behavior. So I don't create a bug.
 
Top