stfexp.constraint.rotation

[ Schema | Category: Component ]

A rigging behavior that copies a percentage of the rotation from its sources.

Implementations

Blender

STF component on bpy.types.Object or bpy.types.Bone

Godot

CopyTransformModifier3D

Unity

RotationConstraint or ParentConstraint or application specific components

Properties

Main

type

required Constant: "stfexp.constraint.rotation"

weight

optional Type: number

Default: 1.0

The total weight of this constraint.

axes

optional Type: array<boolean>

Default: [True, True, True]

Which axes are affected, must have exactly 3 entries for X, Y, Z.

sources

optional Type: array<Constraint Source Object>

List of sources from which to copy the rotation.

Constraint Source Object

weight

optional Type: number

Default: 0.5

How much of the source rotation to blend.

source

required Type: Resource-Ref-Path

Path to the node from which to copy the rotation.

Json Example

"aec4ca85-341b-4b16-952a-5418827a8558": {
	"type": "stfexp.constraint.rotation",
	"name": "asdf",
	"weight": 0.7685009241104126,
	"axes": [ true, false, true ],
	"sources": [
		{
			"source": [ 0, "instance", 1 ],
			"weight": 0.5
		},
		{
			"source": [ 0, "instance", 2 ],
			"weight": 0.7390891909599304
		},
		{
			"source": [ 3 ],
			"weight": 0.7087286710739136
		}
	],
	"referenced_resources": [
		"e6ae2ed1-fc53-43ee-ac53-05bf296d5fc1",
		"ca433094-3789-44c2-b7cb-890691a98b73",
		"3344754b-fafd-45de-82df-7b3f15fce86a",
		"1bef1076-0f2a-402e-8e9f-57d2c7095319"
	]
},