Blender Git Commit Log

Git Commits -> Revision 5a693ce

Revision 5a693ce by Alexander Gavrilov (master)
July 2, 2021, 12:15 (GMT)
Constraints: support a new Local Space (Owner Orientation) for targets.

Add a new transformation space choice for bone constraints, which
represent the local transformation of the target bone in the constraint
owner's local space.

The use case for this is transferring the local (i.e. excluding the
effect of parents) motion of one bone to another one, while ignoring
the difference between their rest pose orientations.

The new option replaces the following setup:

* A `child` bone of the `target`, rotated the same as `owner` in rest pose.
* A `sibling` bone of the `target`, positioned same as `child` in rest
pose and using Copy Transforms in World Space from `child`.
* The `owner` bone constraint uses Local Space of `sibling`.

(This analogy applies provided both bones use Local Location)

Differential Revision: https://developer.blender.org/D9493

Commit Details:

Full Hash: 5a693ce9e396f04d88140d8e015fcace7eddc6c2
Parent Commit: bc8ae58
Lines Changed: +86, -13

5 Modified Paths:

/source/blender/blenkernel/intern/constraint.c (+67, -7) (Diff)
/source/blender/editors/armature/armature_add.c (+4, -6) (Diff)
/source/blender/makesdna/DNA_constraint_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_constraint.c (+10, -0) (Diff)
/source/blender/makesrna/intern/rna_object_api.c (+3, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021