FK/IK switching isn’t working on default quadruped templates; looking at the code, the message attribute isn’t defined when using the connectors leg ms 2jnt
, leg 3jnt
. Only for the leg 2jnt
components
Looks like an oversight and this should be defined so the switching code can find the corresponding child components.
I’ve added a patch into our custom_steps, buts please check this is correct.
# add message connections to parent component.
# this connection will be used to track the ctl relation when IK/FK
# match is performed
self.parent_comp.root.addAttr("footCnx", at="message", m=False)
self.root.message >> self.parent_comp.root.footCnx