unreal.RigUnit_PositionConstraint

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

Bases: RigUnit_HighlevelBaseMutable

Constrains an item’s position to multiple items’ positions

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_TransformConstraint.h

Editor Properties: (see get_editor_property/set_editor_property)

  • 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 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)