unreal.RigUnit_RotationConstraint

class unreal.RigUnit_RotationConstraint(execute_context: ControlRigExecuteContext = [], child: RigElementKey = Ellipsis, maintain_offset: bool = False, filter: FilterOptionPerAxis = Ellipsis, parents: None = [], advanced_settings: RigUnit_RotationConstraint_AdvancedSettings = Ellipsis, weight: float = 0.0)

Bases: RigUnit_HighlevelBaseMutable

Constrains an item’s rotation to multiple items’ rotations

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_TransformConstraint.h

Editor Properties: (see get_editor_property/set_editor_property)

  • advanced_settings (RigUnit_RotationConstraint_AdvancedSettings): [Read-Write]

  • child (RigElementKey): [Read-Write]

  • execute_context (ControlRigExecuteContext): [Read-Write] * This property is used to chain multiple mutable units together

  • filter (FilterOptionPerAxis): [Read-Write]

  • maintain_offset (bool): [Read-Write]

  • parents (Array[ConstraintParent]): [Read-Write]

  • weight (float): [Read-Write]

property advanced_settings: RigUnit_RotationConstraint_AdvancedSettings

[Read-Write]

Type:

(RigUnit_RotationConstraint_AdvancedSettings)

property child: RigElementKey

[Read-Write]

Type:

(RigElementKey)

property filter: FilterOptionPerAxis

[Read-Write]

Type:

(FilterOptionPerAxis)

property maintain_offset: bool

[Read-Write]

Type:

(bool)

property parents: None

[Read-Write]

Type:

(Array[ConstraintParent])

property weight: float

[Read-Write]

Type:

(float)