Blender Git Loki

Git Commits -> Revision b5c66b4

Revision b5c66b4 by Alexander Gavrilov
June 5, 2021, 15:06 (GMT)
Constraints: add support for a new Owner Local Space 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.

Owner Local Space 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)

Since the space list is getting long, also add a couple of separators.

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

Commit Details:

Full Hash: b5c66b4f30a2db51db03a297fb6eec7cb2406da5
Parent Commit: 6751ebf
Lines Changed: +87, -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 (+11, -0) (Diff)
/source/blender/makesrna/intern/rna_object_api.c (+3, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021