unreal.RigUnit_AimConstraintLocalSpaceOffset
¶
- class unreal.RigUnit_AimConstraintLocalSpaceOffset(execute_context: ControlRigExecuteContext = [], child: RigElementKey = Ellipsis, maintain_offset: bool = False, filter: FilterOptionPerAxis = Ellipsis, aim_axis: Vector = Ellipsis, up_axis: Vector = Ellipsis, world_up: RigUnit_AimConstraint_WorldUp = Ellipsis, parents: Array[ConstraintParent] = [], advanced_settings: RigUnit_AimConstraint_AdvancedSettings = Ellipsis, weight: float = 0.0)¶
Bases:
RigUnit_HighlevelBaseMutable
Orients an item such that its aim axis points towards a global target. Note: This node operates in global space!
C++ Source:
Plugin: ControlRig
Module: ControlRig
File: RigUnit_AimBone.h
Editor Properties: (see get_editor_property/set_editor_property)
advanced_settings
(RigUnit_AimConstraint_AdvancedSettings): [Read-Write] Advanced Settingsaim_axis
(Vector): [Read-Write] Aim Axis: Child is rotated so that its AimAxis points to the parentschild
(RigElementKey): [Read-Write] Child: The name of the item to apply aimexecute_context
(ControlRigExecuteContext): [Read-Write] Execute Context: * This property is used to chain multiple mutable units togetherfilter
(FilterOptionPerAxis): [Read-Write] Filter: Filters the final rotation by axes based on the euler rotation order defined in the node’s advanced settings If flipping is observed, try adjusting the rotation ordermaintain_offset
(bool): [Read-Write] Maintain Offset: Maintains the offset between child and weighted average of parents based on initial transformsparents
(Array[ConstraintParent]): [Read-Write] Parentsup_axis
(Vector): [Read-Write] Up Axis: Child is rotated around the AimAxis so that its UpAxis points to/Aligns with the WorldUp targetweight
(float): [Read-Write] Weightworld_up
(RigUnit_AimConstraint_WorldUp): [Read-Write] World Up: Defines how Child should rotate around the AimAxis. This is the aim target for the UpAxis
- property advanced_settings: RigUnit_AimConstraint_AdvancedSettings¶
[Read-Write] Advanced Settings
- property aim_axis: Vector¶
[Read-Write] Aim Axis: Child is rotated so that its AimAxis points to the parents
- Type:
(Vector)
- property child: RigElementKey¶
[Read-Write] Child: The name of the item to apply aim
- Type:
- property filter: FilterOptionPerAxis¶
[Read-Write] Filter: Filters the final rotation by axes based on the euler rotation order defined in the node’s advanced settings If flipping is observed, try adjusting the rotation order
- Type:
- property maintain_offset: bool¶
[Read-Write] Maintain Offset: Maintains the offset between child and weighted average of parents based on initial transforms
- Type:
(bool)
- property parents: Array[ConstraintParent]¶
[Read-Write] Parents
- Type:
- property up_axis: Vector¶
[Read-Write] Up Axis: Child is rotated around the AimAxis so that its UpAxis points to/Aligns with the WorldUp target
- Type:
(Vector)
- property world_up: RigUnit_AimConstraint_WorldUp¶
[Read-Write] World Up: Defines how Child should rotate around the AimAxis. This is the aim target for the UpAxis
- Type: