unreal.RigUnit_AimConstraint

class unreal.RigUnit_AimConstraint(execute_context: ControlRigExecuteContext = [], joint: Name = 'None', aim_mode: AimMode = Ellipsis, up_mode: AimMode = Ellipsis, aim_vector: Vector = Ellipsis, up_vector: Vector = Ellipsis, aim_targets: None = [], up_targets: None = [])

Bases: RigUnitMutable

Rig Unit Aim Constraint

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_AimConstraint.h

Editor Properties: (see get_editor_property/set_editor_property)

  • aim_mode (AimMode): [Read-Write] # How to perform an aim

  • aim_targets (Array[AimTarget]): [Read-Write]

  • aim_vector (Vector): [Read-Write] # Vector in the space of Named joint which will be aligned to the aim target

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

  • joint (Name): [Read-Write]

  • up_mode (AimMode): [Read-Write] # How to perform an upvector stabilization

  • up_targets (Array[AimTarget]): [Read-Write]

  • up_vector (Vector): [Read-Write] # Vector in the space of Named joint which will be aligned to the up target for stabilization

property aim_mode: AimMode

[Read-Write] # How to perform an aim

Type:

(AimMode)

property aim_targets: None

[Read-Write]

Type:

(Array[AimTarget])

property aim_vector: Vector

[Read-Write] # Vector in the space of Named joint which will be aligned to the aim target

Type:

(Vector)

property joint: Name

[Read-Write]

Type:

(Name)

property up_mode: AimMode

[Read-Write] # How to perform an upvector stabilization

Type:

(AimMode)

property up_targets: None

[Read-Write]

Type:

(Array[AimTarget])

property up_vector: Vector

[Read-Write] # Vector in the space of Named joint which will be aligned to the up target for stabilization

Type:

(Vector)