unreal.TransformConstraint

class unreal.TransformConstraint(operator=[True, True, False, False, [True, True, True], [True, True, True], [True, True, True]], source_node='None', target_node='None', weight=1.0, maintain_offset=True)

Bases: unreal.StructBase

Transform Constraint

C++ Source:

  • Module: AnimationCore
  • File: Constraint.h

Editor Properties: (see get_editor_property/set_editor_property)

  • maintain_offset (bool): [Read-Write] When the constraint is first applied, maintain the offset from the target node
  • operator (ConstraintDescription): [Read-Write] thought of separating this out per each but we’ll have an issue with applying transform in what order but something to think about if that seems better:
  • source_node (Name): [Read-Write] Source Node
  • target_node (Name): [Read-Write] Target Node
  • weight (float): [Read-Write] Weight
maintain_offset

(bool) – [Read-Write] When the constraint is first applied, maintain the offset from the target node

operator

(ConstraintDescription) – [Read-Write] thought of separating this out per each but we’ll have an issue with applying transform in what order but something to think about if that seems better:

source_node

(Name) – [Read-Write] Source Node

target_node

(Name) – [Read-Write] Target Node

weight

(float) – [Read-Write] Weight