Copy Global Transform: Mirrored #105039
By request of @PabloFournier.
The Copy Global Transform add-on could get a "mirror across bone" option. This would need a few extra parameters:
- Object pointer & bone name
- 'Paste Flipped' boolean property for the 'Paste' operator.
The workflow would looks something like:
- Pick a bone, press the "Use as Mirror Reference" button. The add-on now uses this until you pick something else. Or use the regular way to pick the bone (picker for armature, then type the bone name).
- Pick a mirror axis that makes sense for that bone. Again, add-on uses this until something else is picked.
- 'Copy' with the already-existing button.
- 'Paste' with the new button, which uses the remembered settings to do the mirroring.
The mirroring works like:
MAT, the world-space matrix that was copied.
- Compute the world-space matrix of the 'mirror bone'
MATto the space local to
MIRROR, i.e. multiply with
MATso that it's actually mirrored
- Transform the now-flipped
MATto world space again, i.e. multiply with
MATjust like the add-on always does.
The work is done, and will be presented at today's Animation & Rigging module meeting.
I've documented the new features: https://docs.blender.org/manual/en/3.6/addons/animation/copy_global_transform.html
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?