stfexp.constraint.parent

[ Schema | Category: Component ]

A rigging behaviour that parents itself to its sources.

Implementations

Blender

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

Godot

CopyTransformModifier3D

Unity

ParentConstraint or application specific components

Properties

Main

type

required Constant: "stfexp.constraint.parent"

weight

optional Type: number

Default: 1.0

The total weight of this constraint.

rotation_axes

optional Type: array<boolean>

Default: [True, True, True]

Which axes are affected by the sources rotation. Must have exactly 3 entries for X, Y, Z.

translation_axes

optional Type: array<boolean>

Default: [True, True, True]

Which axes are affected by the sources translation. Must have exactly 3 entries for X, Y, Z.

sources

optional Type: array<Constraint Source Object>

List of sources to which this node should be parented.

Constraint Source Object

weight

optional Type: number

Default: 0.5

How much of the sources transform to blend.

source

required Type: Resource-Ref-Path

Path to the node to which this node should be parented.

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"
	]
},