unreal.RigUnit_RotationConstraintLocalSpaceOffset

class unreal.RigUnit_RotationConstraintLocalSpaceOffset(execute_pin: RigVMExecutePin = [], 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] The advanced settings of the constraint operation

  • child (RigElementKey): [Read-Write] The child to constrain

  • execute_pin (RigVMExecutePin): [Read-Write] This property is used to chain multiple mutable units together

  • filter (FilterOptionPerAxis): [Read-Write] The filter to apply on the transform

  • maintain_offset (bool): [Read-Write] If True the offset will be computed based on the current delta between each child and parent

  • parents (Array[ConstraintParent]): [Read-Write] The array of parents to constrain the child to

  • weight (float): [Read-Write] The weight to use when applying the resulting transform to the child

property advanced_settings: RigUnit_RotationConstraint_AdvancedSettings

[Read-Write] The advanced settings of the constraint operation

Type:

(RigUnit_RotationConstraint_AdvancedSettings)

property child: RigElementKey

[Read-Write] The child to constrain

Type:

(RigElementKey)

property filter: FilterOptionPerAxis

[Read-Write] The filter to apply on the transform

Type:

(FilterOptionPerAxis)

property maintain_offset: bool

[Read-Write] If True the offset will be computed based on the current delta between each child and parent

Type:

(bool)

property parents: None

[Read-Write] The array of parents to constrain the child to

Type:

(Array[ConstraintParent])

property weight: float

[Read-Write] The weight to use when applying the resulting transform to the child

Type:

(float)