I'm trying to make a IK-FK switch, and Im having trouble to make the pose bone to snap to another bone. (With rotation and stuff)
I tried to do something like Bone1.matrix = Bone2.matrix but it doesn't seems to work.
What I want to achieve is something like copy transform constraint, but instead of constraint, is a one time snapping via python. I have try many things and search around, and nothing seems to be working for me. I hope I could get some luck asking for help here.
https://drive.google.com/file/d/13yGv-U5joAzT0SheWNu3id7yAbvRtwz5/view?usp=sharing
Heres a link to my blend file if that helps.
Thank you very much
addons/rigify/rig_ui_template.pythere are a number of snapping routines. Could use a temporary copy transform constraint in 2.8+ by running disable and keep constraint operator before removing. – batFINGER Jun 02 '20 at 07:51