stfexp.constraint.parent¶
A rigging behaviour that parents itself to its sources.\
Implementations¶
Blender |
STF component on bpy.types.Object or bpy.types.Bone (Could use actual CopyRotation modifiers in the future) |
|
Unity |
ParentConstraint or application specific components |
Properties¶
Key |
Required |
Type |
Description |
|---|---|---|---|
weight |
No |
float |
The total weight of this constraint. Default is 1. |
rotation_axes |
No |
list[boolean] |
Which axes are affect rotation, must have exactly 3 entries for X, Y, Z. |
translation_axes |
No |
list[boolean] |
Which axes are affect translation, must have exactly 3 entries for X, Y, Z. |
sources |
No |
list[Source-Object] |
List of sources from which to copy the rotation. |
Source-Object Properties
Key |
Required |
Type |
Description |
|---|---|---|---|
weight |
No |
float |
How much of the source rotation to blend. Default is 0.5 |
source |
Yes |
Path to the node from which to copy the rotation. |
Json Example¶
"d49613ca-584e-4be3-baa2-17145c3b38db": {
"type": "stfexp.constraint.parent",
"name": "Parent to Hand",
"weight": 1.0,
"translation_axes": [
true,
true,
true
],
"rotation_axes": [
true,
true,
true
],
"sources": [
{
"source": [
0,
"instance",
1
],
"weight": 1.0
}
],
"referenced_resources": [
"e6ae2ed1-fc53-43ee-ac53-05bf296d5fc1",
"1e803b23-4d6e-4f3e-8194-976fe699a46c"
]
},